nRF Command Line Tools

nRF Command Line Tools

The nRF Command Line Tools are used for developing, programming, and debugging of Nordic Semiconductor's SoCs (System on Chip).

Note: The nRF Command Line Tools have been archived and replaced by nRF Util. No further updates will be made to the nRF Command Line Tools. Last supported operating systems are Windows 10, Linux Ubuntu 22.04, and macOS 13. The nRF Command Line Tools will remain available for download, but do not install the SEGGER J-Link version they provide if you have a newer version installed.

The nRF Command Line Tools consist of the following components:

  • nrfjprog executable: The nrfjprog executable is a command line tool for programming Nordic Semiconductor SoCs through SEGGER J-Link programmers and debuggers.
  • mergehex executable: The mergehex executable is a command line utility that enables you to combine several HEX files into a single file.
  • nrfjprog DLL: The nrfjprog DLL is a Dynamic-Link Library that exports functions for programming and controlling Nordic Semiconductor SoCs. It lets developers create their own development tools for Nordic Semiconductor SoCs using the DLL's API.
  • SEGGER J-Link software and documentation pack.

The latest version of the nRF Command Line Tools is available for the following operating systems:

  • Windows x86_64
  • Linux x86_64
  • Linux Arm 64-bit
  • Linux Arm 32-bit
  • macOS (64-bit Intel and M1)

Earlier versions of the nRF Command Line Tools are available for the following operating systems:

  • v10.19.0 for Windows 32-bit
  • v10.12.2 for Linux x86 32-bit

The nrfjprog utility is developed for use together with SEGGER debuggers, so the SEGGER software must also be installed. You should install the SEGGER version provided with the nRF Command Line Tools package, because this is the version that has been tested and verified to work. Using other versions might also work, but keep in mind that there might be major changes that could break compatibility. The SEGGER software is not documented here.