Setting and unsetting installation directory

nRF Util

tags
nRF Util

By default, the installation directory is unset and uses the operating system default directory.

You can permanently specify a different installation directory by using the config install-dir set subcommand.

For example, the following command sets the install-dir to C://ncs2:

nrfutil sdk-manager config install-dir set C://ncs2
After you changed the installation directory, any commands for installing and uninstalling SDKs and toolchains or managing them directly will consider the new installation directory as default. You can still use the --install-dir flag to override the setting.

To restore the default installation directory setting, run the following command:

nrfutil sdk-manager config install-dir unset