Note: these steps were tested on a MacBook Air M1 2020, 8 GB RAM and macOS Ventura 13.0.1
You can get the latest version of the STM32CubePrg-Mac
package at STm dev-tools website. The version I used in this guide was the 2.12.0
.
Launch a new terminal and go to the directory where the downloaded package is located (Desktop in my case) and unzip it:
cd ~/Desktop
unzip en.stm32cubeprg-mac_v2-12-0.zip
Run the installer by opening SetupSTM32CubeProgrammer-2_12_0_macos
located inside the .app
package:
cd SetupSTM32CubeProgrammer-2.12.0.app/Contents/MacOs
open SetupSTM32CubeProgrammer-2_12_0_macos
If the error "macOS cannot verify that this app is free from malware" pops-up:
Go to System Settings > Privacy & Security and click on "Open Anyway". Then relauch the open
command in the terminal.
The installation wizard will appear, and from this point on it's easy peasy:
Great, solved my problem, thank you
MacBook Pro M1 2020 Ventura 13.1