The Zephyr SDK is a set of build tools for building Zephyr applications. It includes GCC and CMake, and each Zephyr release is tied to a specific Zephyr SDK version. This version is noted in the SDK_VERSION file in the Zephyr repository. Using the recommended Zephyr SDK version is important—mismatched versions can cause build errors.
For example, Zephyr v4.1 specifies Zephyr SDK v0.17.0. If you use Zephyr SDK v0.17.2 (meant for Zephyr v4.2) with Zephyr v4.1, you’ll encounter build errors. If you need to build apps for Zephyr v4.1, install Zephyr SDK v0.17.0.
You can install multiple Zephyr SDK versions and switch between them at build time (see instructions below).
For Minimal install, run the setup.cmd script to select which tools to install. On NXP boards, select:
aarch64-zephyr-elf (64-bit ARM)arm-zephyr-eabi (32-bit ARM, including NXP MCUs)xtensa-nxp… (Cadence Tensilica DSP cores)These steps cover installing the Zephyr SDK using the MCUXpresso Installer, West from CLI, or manual download.
The MCUXpresso Installer started supporting packs for Zephyr with Zephyr v4.2. Each pack installs the matching Zephyr SDK version (e.g., v4.2 pack installs SDK v0.17.2). This option Installs a minimal set of tools for NXP development.
The MCUXpresso Installer does not support older Zephyr SDK versions. For v0.17.1 or earlier, use West or manual install.
west sdk install --version 0.17.0
--version is omitted, West uses the version in the SDK_VERSION file of the Zephyr repo.-i.C:\Users\<username>\zephyr-sdk-0.17.0/home/<username>/zephyr-sdk-0.17.0Multiple Zephyr SDK versions can coexist. West uses the latest by default, but you can override it:
ZEPHYR_SDK_INSTALL_DIR before building. This command sets that variable in Ubuntu: