2. Run cmd.exe to command line window, type command: pip install -U mbed-cli.3. Go to the folder used for testing, type command: mbed new test-mbedos, it will download 1GB of content. 4. Go to the test-mbedos folder, it is newly created by the mbed command.5. Add a main.cpp file:

7. If the installation of dependent packages(mbed-cli) fails, you need to delete their version numbers(in mbed-os/requirements.txt).8. At this time, a CB project file was created (test-mbedos.cbp).9. Set the path of gcc arm toolchain in CB to start compiling.