Complete the steps below to install the nRF Connect SDK automatically using the Toolchain Manager application. The application installs the full toolchain for the nRF Connect SDK, including the nRF Connect for VS Code extension and the nRF Connect SDK source code.
Before you start setting up the toolchain, install available updates for your operating system. See Requirements for information on the supported operating systems and Zephyr features.
Additionally, make sure you install the Universal version of SEGGER J-Link. This is required for SEGGER J-Link to work correctly with both Intel and ARM assemblies.
Toolchain Manager is available from nRF Connect for Desktop, a cross-platform tool that provides different applications that simplify installing the nRF Connect SDK. Both the tool and the application are available for Windows, Linux, and macOS.
To install the Toolchain Manager app, complete the following steps:
Download nRF Connect for Desktop for your operating system.
Install and run the tool on your machine.
In the APPS section, click Install next to Toolchain Manager.
The app is installed on your machine, and the Install button changes to Open.
Complete the following steps to install the nRF Connect SDK source code:
Open Toolchain Manager in nRF Connect for Desktop.
Click SETTINGS in the navigation bar to specify where you want to install the nRF Connect SDK.
In SDK ENVIRONMENTS, click the Install button next to the nRF Connect SDK version that you want to install.
The nRF Connect SDK version of your choice is installed on your machine. The Install button changes to Open VS Code.
There are two ways you can build an application:
Using Visual Studio Code and the nRF Connect for VS Code extension
Using command line
To build on the nRF Connect for VS Code extension, complete the following steps:
In Toolchain Manager, click the Open VS Code button.
A notification appears with a list of missing extensions that you need to install, including those from the nRF Connect for Visual Studio Code extension pack.
Click Install missing extensions.
Once the extensions are installed, click Open VS Code button again.
You can then follow the instructions in Building with Visual Studio Code.
To build on the command line, complete the following steps:
With admin permissions enabled, download and install the nRF Command Line Tools.
Restart the Toolchain Manager application.
Click the dropdown menu for the installed nRF Connect SDK version.
Select Open command prompt.
You can then follow the instructions in Building on the command line.