The following environment variables affect the core nRF Util module.
| Environment variable | Description | Example usage |
|---|---|---|
NRFUTIL_PACKAGE_INDEX_NAME |
The name of the package index to use for searching for and installing nRF Util commands. You can use this environment variable instead of the --package-index-name flag. The value must refer to the name of a package index in your nRF Util configuration. If you set this environment variable and provide a modifier name on the command line, but the modifier does not already exist, then a modifier with the provided name is automatically created pointing to the named package index. See also Configuring modifiers from environment variables. |
NRFUTIL_PACKAGE_INDEX_NAME=my-index |
NRFUTIL_BOOTSTRAP_CONFIG_URL |
Determines the address of the bootstrap configuration file used to install the core module if the core module is not already present when nRF Util runs. Defaults to https://files.nordicsemi.com/artifactory/swtools/external/nrfutil/index/bootstrap.json. Once nRF Util has completed the bootstrap process, this environment variable has no effect. |
NRFUTIL_BOOTSTRAP_CONFIG_URL=https://custom-bootstrap.json |
NRFUTIL_BOOTSTRAP_TARBALL_PATH |
Overrides the bootstrap behavior to install the core module directly from the referenced tarball instead of fetching it via the bootstrap configuration file. This allows for installing a specific version of the core functionality. Once nRF Util has completed the bootstrap process, this environment variable has no effect. | NRFUTIL_BOOTSTRAP_TARBALL_PATH=/path/to/core.tar.gz |