Configuring installation directory on Windows and Linux

nRF Util

tags
nRF Util

You can set a different toolchain installation directory with the following command, where <new-install-dir> specifies the path to the new installation directory:

nrfutil toolchain-manager config --set install-dir=<new-install-dir>

Here are examples for Windows and Linux:

  • Windows - the following command will set the installation location to C:\\test on Windows:
    nrfutil toolchain-manager config --set install-dir=C:\\test
    
  • Linux - the following command will set the installation location to ~/test on Linux:
    nrfutil toolchain-manager config --set install-dir=~/test
    

You cannot configure the installation directory on macOS for reasons explained above.

You can override this setting for single installation commands with the --install-dir flag, which you can use when installing the toolchain. (Overriding with flags does not support completion.)