The nRF Command Line Tools are used for developing, programming, and debugging Nordic
Semiconductor's System on Chip (SoC)s.
Complete the following steps to install the nRF Command Line Tools and verify the
installation:
-
Follow the instructions in Installing the nRF Command Line Tools to download
and install the nRF Command Line Tools.
-
Enter the following command in a command line to make sure that nrfjprog is installed
correctly: nrfjprog --version
If you get an error message that the command cannot be found, nrfjprog must be manually
added to the PATH.
On Windows:
-
Go to the Windows Advanced system settings and click
Environment Variables.
-
Select the Path variable and click Edit.
-
Add the following text at the end of the variable value:
;C:\Program Files
(x86)\Nordic Semiconductor\nrf-command-line-tools\bin
Make sure that you add a semicolon (;) between entries in the PATH values:
path1;path2
-
Click OK twice.
On Linux, assuming that you have installed the nRF Command Line Tools
into /opt/:
-
Add the following command to the configuration file for your command line, for example,
to ~/.bashrc:
Open a new command prompt and repeat the command. It should now
succeed.