Working with microcontrollers STM32 requires reliable development tools, and STM32CubeIDE is the official environment from STMicroelectronics, which combines a compiler, debugger and peripheral configurator in one package. However, many users encounter problems finding the latest version: third-party resources often contain outdated assemblies or modified distributions with unknown content. In this article we will look at where to safely download STM32CubeIDE, how to avoid fakes and install software correctly on Windows, Linux or macOS.
Feature STM32CubeIDE — close integration with the library HAL and code generator STM32CubeMX, which speeds up the development of embedded systems. But before downloading, it is important to consider the system requirements: for example, Windows 10/11 will require at least 4 GB of RAM and 5 GB of free disk space, and for Linux, correctly configured port access rights /dev/tty*. Below you will find step-by-step instructions, version comparisons, and solutions to common installation errors.
Official sources for downloading STM32CubeIDE
The only reliable way to get the latest and safe version STM32CubeIDE - download it from STMicroelectronics official website. All other resources (including torrents, file hosting services and third-party repositories) risk containing:
- 🔴 Outdated versions with vulnerabilities (for example, 1.4.0 instead of the current 1.14.0)
- 🔴 Modified assemblies with embedded malware (especially in archives
.zipwithout digital signature) - 🔴 Incomplete distributions without debugger support ST-Link or J-Link
Official download page: st.com/stm32cubeide. Versions available here for:
- 🖥️ Windows (64-bit and 32-bit)
- 🐧 Linux (Debian/Ubuntu, RHEL, SUSE)
- 🍎 macOS (Intel and Apple Silicon)
- Windows
- Linux
- macOS
- Other
On the download page, pay attention to:
- IDE version — current for 2026: 1.14.0 (with support for STM32H7 and STM32U5).
- Installer type:
- For Windows -
.exewith built-in installer. - For Linux -
.tar.gzor.deb/.rpm(depending on the distribution). - For macOS -
.dmgor.pkg.
- For Windows -
System requirements and compatibility
Before downloading, check if your system meets the minimum requirements. The table below shows data for STM32CubeIDE 1.14.0:
| Parameter | Windows 10/11 | Linux (Ubuntu 20.04+) | macOS (Ventura+) |
|---|---|---|---|
| Architecture | x86-64 (or x86 for 32-bit) | x86-64, ARM64 | Intel, Apple Silicon (M1/M2) |
| RAM | 4 GB (8 GB recommended) | 4 GB | 4 GB |
| Disk space | 5 GB (including SDK) | 4 GB | 4 GB |
| Java | Included in the distribution | OpenJDK 11+ | Included in the distribution |
| Additionally | Administrator rights to install drivers ST-Link | Rights to /dev/ttyUSB* And udev |
Permission to install from outside the App Store |
⚠️ Attention: On macOS with chips Apple Silicon (M1/M2) version required STM32CubeIDE with support ARM64. Old builds (before 1.10.0) may not start or work with errors. Check your Mac's architecture in the menu About This Mac → Overview.
For Linux, it is important to ensure that you have the following packages (install via terminal):
sudo apt install libncurses5 libudev-dev libusb-1.0-0
Step-by-step installation instructions
Installation process STM32CubeIDE differs depending on the operating system. Below is a universal algorithm taking into account typical errors.
Windows 10/11
☑️ Preparation for installation on Windows
1. Run the downloaded file st-stm32cubeide-1.14.0_windows-x86_64.exe (for 64-bit systems). If a warning appears SmartScreen, press Read more → Run anyway.
2. In the installation wizard, select:
- 📁 Installation folder (recommended
C:\STM32CubeIDE\). - ✅ Components: leave a check mark on STM32CubeIDE And STM32CubeMX (if you need a code generator).
- 🔌 Drivers: check the box
Install ST-Link drivers(critical for working with development boards).
3. After installation, restart your PC. Check for drivers in Device Manager (section Other devices must not contain unknown devices with an exclamation mark).
Linux (Ubuntu/Debian)
1. Unpack the archive st-stm32cubeide-1.14.0_linux-x86_64.tar.gz to home directory:
tar -xvzf st-stm32cubeide-*.tar.gz -C ~/STM32/
2. Run the installation script:
cd ~/STM32/st-stm32cubeide-1.14.0/
./setup
3. To work with ST-Link add a rule udev:
sudo cp ~/STM32/st-stm32cubeide-1.14.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.linux64_1.0.0.202105311346/tools/udev/99-stlink-v*.rules /etc/udev/rules.d/sudo udevadm control --reload-rules
sudo udevadm trigger
If the IDE does not start after installation, check the folder permissions ~/STM32/ and execute chmod +x ~/STM32/st-stm32cubeide-1.14.0/stm32cubeide.
macOS
1. Open the downloaded file st-stm32cubeide-1.14.0_macos.dmg and drag the icon STM32CubeIDE to a folder Applications.
2. When you launch it for the first time, macOS will block the application (error "STM32CubeIDE" cannot be opened because the developer cannot be verified). To enable execution:
- Open
System Settings → Privacy and Security. - Click
Open anywaynext to the warning about STM32CubeIDE.
3. To work with ST-Link install the driver manually:
brew install --cask stlink
Solving common errors
Even with correct installation, users encounter problems. Below is a list of common errors and how to resolve them.
- 🔴 Error "Failed to launch JVM":
Cause: Corrupt Java installation or version conflict. Solution:
- Delete the folder
~/STM32/st-stm32cubeide-*/jre. - Download OpenJDK 11 and specify the path to it in the IDE launch settings.
- Delete the folder
Check:
- Connecting the board via USB (try a different port).
- Availability of drivers in
Device Manager(Windows) or command outputlsusb(Linux). - No conflicts with other debuggers (for example, J-Link).
Solution: install the toolchain GNU Arm Embedded Toolchain via package manager or with ARM official website.
What to do if the IDE does not see the debug board?
1. Check the physical connection (the USB cable must be for data as well as power).
2. Update ST-Link firmware via STM32CubeProgrammer.
3. On Linux, add a user to a group dialout: sudo usermod -a -G dialout $USER and reboot.
4. On Windows, try reinstalling the driver manually via Close driver in STM32CubeProgrammer.
⚠️ Attention: If after the update STM32CubeIDE Old projects no longer open, check version compatibility STM32CubeMX And HAL libraries. For example, projects built in 1.10.0 may not compile to 1.14.0 without a code migration.
Updating STM32CubeIDE to the latest version
STMicroelectronics regularly releases updates for STM32CubeIDE - approximately once every 2-3 months. New versions contain:
- 🆕 Support for new microcontrollers (for example, STM32H5 or STM32C0).
- 🐛 Critical bug fixes (especially in the debugger and code generator).
- 🔧 Performance optimization (faster compilation and simulation).
- Open STM32CubeIDE and go to
Help → Check for Updates. - If the update is not found automatically, download the new version from official website and install over the old one (the project settings will be saved).
- After the update, rebuild all projects (
Project → Clean). - 📦 Portable version (Windows):
Download the archive
.zipfrom the official website and unpack it to any folder. Launchstm32cubeide.exewithout installation. Disadvantage: lack of integration with drivers ST-Link (they will have to be installed separately). - 🐧 Installation via Snap (Linux):
Run the command:
sudo snap install stm32cubeide --classicAdvantage: Automatic update via
snap refresh. - 🖥️ Docker container:
To isolate your development environment, use the image:
docker pull stm32cubeide/stm32cubeide:latestdocker run -it --device=/dev/ttyACM0 -v ~/STM32Projects:/workspace stm32cubeidePay attention to the mounting of the device
/dev/ttyACM0(replace with your ST-Link port). - 🔹 Beginner developers (thanks to the built-in STM32CubeMX).
- 🔹 Open source projects (no restrictions on code size).
- 🔹 Cross-platform development (Linux/macOS).
- Export your project from Keil/IAR to
.uvprojx/.ewp. - B STM32CubeMX import the file via
File → Import → Existing Project into Workspace. - Manually transfer custom code (files
.c/.h) into the new project structure. - Select pre-installed GNU Arm Embedded Toolchain.
- Specify a custom path to the compiler (for example,
/usr/local/gcc-arm-none-eabi-10-2020-q4-major/bin). - Check your USB connection (try a different cable/port).
- On Windows, update the driver via
Device Manager(selectSTMicroelectronics ST-Linkmanually). - On Linux, add a rule for
udev(see section "Installation on Linux"). - Run STM32CubeProgrammer and check if the board is detected there (
ST-Link → Connect). - On Windows:
C:\Users\<Your_name>\STM32Cube\workspace. - On Linux/macOS:
~/STM32Cube/workspace.
To update the IDE:
⚠️ Attention: When updating manually (installing a new version over the old one) don't delete the workspace folder — it contains all your projects and settings. However, it is recommended to make a backup (File → Export → General → Archive File).
Update STM32CubeIDE only through official channels. Use of third party "patches" or "portable" versions may result in incompatibility with ST debugging tools.
Alternative installation methods
In addition to the standard installer, STM32CubeIDE can be deployed in alternative ways:
For corporate users STMicroelectronics offers offline installers with pre-loaded packages. They can be requested via personal account (registration required).
Comparison of STM32CubeIDE with other development environments
STM32CubeIDE is not the only tool for working with STM32. The table below compares popular alternatives:
| Criterion | STM32CubeIDE | Keil MDK | IAR Embedded Workbench | PlatformIO (VS Code) |
|---|---|---|---|---|
| Cost | Free | Paid (code limit 32 KB in free version) | Paid (30-day trial) | Free (with open tools) |
| Integration with STM32CubeMX | Full (built-in code generator) | Partial (project export required) | Partial | Via plugins |
| Debugger | ST-Link, J-Link (built-in support) | J-Link, ST-Link (requires drivers) | J-Link, ST-Link | Support via OpenOCD |
| OS support | Windows, Linux, macOS | Windows | Windows | Windows, Linux, macOS |
| Benefits | Official ST support, free, cross-platform | Excellent simulator, optimized compiler | High stability, advanced debugging | Flexibility, Git integration, open tools |
STM32CubeIDE optimal for:
However, for commercial projects with strict code optimization requirements it is worth considering Keil or IAR - their compilers generate more efficient machine code (5-10% more compact).
FAQ: Frequently asked questions about STM32CubeIDE
🔍 How to find out the version of the installed STM32CubeIDE?
Open the IDE and go to Help → About STM32CubeIDE. The version is displayed at the top of the window (for example, 1.14.0). Also the information is duplicated in the file version.ini in the installation folder.
🖥️ Is it possible to transfer projects from Keil/IAR to STM32CubeIDE?
Yes, but with reservations:
Automatic conversion of peripheral settings (RCC, GPIO etc.) not supported — they will have to be configured again.
⚙️ How to change the path to the toolchain (compiler) in STM32CubeIDE?
Go to Window → Preferences → STM32Cube → Toolchain. Here you can:
After changing the path, rebuild the project (Project → Clean).
🔌 STM32CubeIDE does not see the Nucleo board. What to do?
The problem is usually driver or power related:
If the board is still not visible, try resetting it to factory settings (click RESET for 5 seconds).
📁 Where does STM32CubeIDE store projects by default?
Workspace folder (workspace) located:
You can change the path when you first start the IDE or through File → Switch Workspace.