Installing STM32CubeCLI

If you have STM32CubeMX2 or STM32CubeIDE for VSCode installed, STM32CubeCLI may already be available in your PATH. Check with cube --version before installing it.

Check whether STM32CubeCLI is installed:

cube --version

The STM32CubeCLI software package is provided AS IS. By downloading it, you agree to be bound by the terms of the Software license agreement. The detailed content licenses are available here.

If it is not available, install it:

irm https://developer.st.com/bundles/install/install.ps1 | iex

Open a new PowerShell window after installation, then verify:

cube --version
cube --help