Installing the nRF Command Line Tools

nRF Command Line Tools

You can install the nRF Command Line Tools on Windows, Linux (64-bit and 32-bit), and macOS.

Make sure to install the following software before you install the nRF Command Line Tools:
  • SEGGER software bundled with the nRF Command Line Tools installation package.
    Note: When installing on macOS or Linux, the SEGGER software must be installed in its default location, or the shared library must be placed so that dlopen() can find it. The default location is:
    • On macOS: /Applications/SEGGER/JLink
    • On Linux: /opt/SEGGER/JLink
  • Windows only: Microsoft Visual C++ Redistributable (any version)

Complete the following steps to install the nRF Command Line Tools:

  1. Download the nRF Command Line Tools.
  2. Run the installer for your operating system.
After running the installer, the nRF Command Line Tools are ready for use. By default, they are installed in the following directories:
  • On Windows (64-bit): C:/Program Files/Nordic Semiconductor/nrf-command-line-tools
  • On Windows (32-bit): C:/Program Files (x86)/Nordic Semiconductor/nrf-command-line-tools
  • On Linux: /opt/nrf-command-line-tools
  • On macOS: /Applications/Nordic Semiconductor