Command lines

Command-line usage

The following sections describe how to use STM32CubeProgrammer from the command line.

To launch the command-line interface, use the corresponding command for your platform:

  • macOS x86_64:

    STM32CubeProgrammer.app/Contents/MacOs/bin/STM32_Programmer_CLI
    
  • macOS aarch64:

    STM32CubeProgrammer.app/Contents/Resources/bin/STM32_Programmer_CLI
    
  • Windows:

    ..\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe
    
  • Linux:

    ../STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI
    
Command lines.
MCUs Command lines
MCU command lines
Command lines.
MPUs Command lines
MPU command lines