Arm Mbed OS support forum

Using mbed OS 6 with the old mbed-cli

It was always unclear for me what mbed version is used when generating a new mbed program with mbed new. I figured out it uses mbed OS 5. For using mbed OS 6, the documentation recommends using mbed-tools (mbed CLI 2). However mbed-tools seems buggy and lacks some features that I need, like target mocking.

Is there a way to use the old mbed CLI with the latest mbed OS 6?

there’s no change in using the old mbed tools with mbed os 6. It works the exact same way it always has.