2026-03-14 9:44 AM
Hi,
After updating to the latest VS Code extension pack v3.8, what is the recommended path for executing CMake commands from command line? I uninstalled the STM32CubeCLT since it's now bundled, perhaps this the wrong choice?
I want to test running commands to upgrade our CI/CD pipelines to be up-to-date. Also found following path which contains `cube.exe` as a CLI wrapper. My concern is setting an environment variable to a path with a version number (`/...-core-1.2.0-.../`) that ends up being a moving target.
> `C:\Users\USERNAME\.vscode\extensions\stmicroelectronics.stm32cube-ide-core-1.2.0-win32-x64\resources\binaries\win32\x86_64`
Any assistance would be greatly appreciated.
Solved! Go to Solution.
2026-03-15 5:57 AM - edited 2026-03-15 8:05 AM
After further research, it appears that you can use both options:
Outcomes:
2026-03-15 5:57 AM - edited 2026-03-15 8:05 AM
After further research, it appears that you can use both options:
Outcomes:
2026-03-15 11:04 PM
@Suess
I would no shoot for CLT myself because is going to be deprecated see https://community.st.com/t5/stm32cubeide-for-visual-studio/support-sharing-toolchains-between-stm32cube-for-vs-code-and/td-p/834619
I would recommend to rely on brand new STM32Cube bundles instead. You can set them all based on integrated bundle manager of Thanks couple of CLI calls.
To start based on a VS Code integrated terminal have a try to get `cube`:
cube bundle install cube-wrapperYou're going to get cube out of any VS Code context. Just use it out of VS Code pointing to.
You can too get '.bundle' files which are basically zip files and possibly you get all of them per platform (for CI/CD):
cube bundle download cube-wrapper --platform x86_64-linuxcube bundle download cmake --platform x86_64-linux
cube bundle download ninja --platform x86_64-linux
cube bundle download gnu-tools-for-stm32@14.3.1+st.2 --platform x86_64-linux
cube bundle install cmake-4.2.3+st.1-x86_64-linux.bundle
....Ends with on request atomic setup so saving hard disk space, flexibility about versions management, .... let's say all good :)
2026-03-16 6:02 AM
Thank you, @Cartu38 OpenDev for the added information and reference link for myself and future readers!
When they spoke of stop CubeCLT, I'm assuming he was referring to the use case of the build tools and VS Code, and not CubeCLT as a whole. Overall, people will still need the ability to perform CI/CD on their build servers, which that tool (though bloated) comes handy.
I really like that they're moving forward with the Bundles for smaller install sizes / no duplicated tooling. That's a win!
Thanks again!
2026-03-16 7:46 AM
@Suess
In real CLT and bundles contents are the very same. CLT can be stopped in real for now ... bundles are enabling the very same but more flexible, more atomic more, ... I consider like you it's a win !