Skip to main content
callsignhermit
Associate II
August 14, 2026
Question

Which STM32Cube apps use these shell profile configurations on macOS

  • August 14, 2026
  • 0 replies
  • 6 views

I’ve been using STM32CubeIDE, STM32CubeMX, STM32CubeProgrammer, and STM32CubeMonitor on a Mac currently running macOS 26.6.

When I run env or export in Terminal (which uses Zsh by default), I find these two STM32-related environment variables.

STM32CubeMX_PATH=/Applications/STM32CubeMX.app/Contents/Resources
STM32_PRG_PATH=/Applications/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/Resources/bin

Examined Zsh dotfiles in my home folder and found the following two *export*s in ~/.zshrc that set them.

export STM32CubeMX_PATH=/Applications/STM32CubeMX.app/Contents/Resources
export STM32_PRG_PATH=/Applications/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/Resources/bin

Which apps have added these; CubeMX, CubeProg, or perhaps the respective plugins from CubeIDE? What is their intended purpose, and in particular, which other STM32Cube tools rely on them? Also, do the apps add these every time on launch or only once during installation?