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:\\teston Windows:nrfutil toolchain-manager config --set install-dir=C:\\test - Linux - the following command will set the installation location to
~/teston 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.)