Installing SDK to a custom path

nRF Util

tags
nRF Util

The sdk-manager sdk install subcommand also supports the --sdk-path flag to specify the final location where the SDK bundle is installed, regardless of any other configuration or setting for downloading the SDK. For example:

nrfutil sdk-manager sdk install v3.1.1 --sdk-path C:\app\ncs

This installs the SDK to C:\app\ncs and ignores any changes to configuration settings.

When used with the --install-dir flag, both flags can point to directories on different drives. For example, on Windows:

nrfutil sdk-manager sdk install v3.1.1 --install-dir C:\dirA --sdk-path D:\dirB

This installs the SDK to D:\dirB while using C:\dirA as the download directory for the SDK package.