sdk-manager command

nRF Util

tags
nRF Util

You can use the following environment variables with the sdk-manager command to configure index access.

Environment variable Description Example usage
NRFUTIL_REGION Determines the region to use for SDK and toolchain operations. You can use this environment variable instead of the --region flag to avoid specifying the region on every command. The variable takes the same values and behaves in the same way as the --region flag. By default, it uses the default region (corresponding to .com domain names for downloads). NRFUTIL_REGION=cn (if you want to use servers in the People's Republic of China)
NRFUTIL_SDK_REMOTE_CONFIG_URL Determines the address of the SDK remote configuration file used to populate the list of SDK bundles available for install. Defaults to https://files.nordicsemi.com/artifactory/swtools/external/nrfutil/index/sdk.json. NRFUTIL_SDK_REMOTE_CONFIG_URL=https://custom-sdk.json
NRFUTIL_TOOLCHAIN_REMOTE_CONFIG_URL Determines the address of the toolchain remote configuration file used to populate the list of toolchain bundles available for install. Defaults to https://files.nordicsemi.com/artifactory/swtools/external/nrfutil/index/toolchain.json. NRFUTIL_TOOLCHAIN_REMOTE_CONFIG_URL=https://custom-toolchain.json
NRFUTIL_SDK_MANAGER_SDK_REMOTE_CONFIG_TOKEN Provides an authentication token for accessing the nRF Connect SDK configuration address. The tool uses this token in the HTTP Bearer Authorization header in the request to the remote configuration. NRFUTIL_SDK_MANAGER_SDK_REMOTE_CONFIG_TOKEN=my-token
NRFUTIL_SDK_MANAGER_TOOLCHAIN_REMOTE_CONFIG_TOKEN Provides an authentication token for accessing the toolchain configuration address. The tool uses this token in the HTTP Bearer Authorization header in the request to the remote configuration. NRFUTIL_SDK_MANAGER_TOOLCHAIN_REMOTE_CONFIG_TOKEN=my-token