Installing the nRF Command Line Tools

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:

  1. Follow the instructions in Installing the nRF Command Line Tools to download and install the nRF Command Line Tools.
  2. 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:
    1. Go to the Windows Advanced system settings and click Environment Variables.
    2. Select the Path variable and click Edit.
    3. 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
    4. Click OK twice.
    On Linux, assuming that you have installed the nRF Command Line Tools into /opt/:
    1. Add the following command to the configuration file for your command line, for example, to ~/.bashrc:
      export PATH=$PATH:/opt
    Open a new command prompt and repeat the command. It should now succeed.