Arm Mbed and Pelion device management support forum

Check version of mbed-os with mbed-cli

I work with 2-3 versions of mbed-os. “mbed --version” shows the version of mbed-cli. Is there anyway to determine which version of mbed-os is installed?

Hi,

mbed ls shows list of imported libraries with version hash.

[mbed] Working path "/Users/toywat01/test/mbed-os-example-blinky" (program)
mbed-os-example-blinky (#880ed00bff63)
`- mbed-os (#0063e5de32fc, tag: mbed-os-5.12.1)

You can also find the version from mbed-os/platform/mbed_version.h.

1 Like

Exactly what I was looking for. Thanks for your help!