Installation sets are optional JSON or YAML requirement files that can specify the nRF Util commands for installation with a given nRF Util version. You can provide a link to such file when running the nrfutil install command to install several commands at the same time.
For an example of the installation set JSON file, expand the following section.
Example of an installation set
{
"version": "1",
"commands": {
"device": "=2.12.2",
"sdk-manager": "1.6.0",
"trace": ">=3.0.0"
}
}
Where:
versionis the version of the installation set.commandsis an object with the commands to install and their versions.- The
=sign specifies the exact version to install. - The
>=sign specifies the minimum version to install. - No sign means that any equivalent version of the same major version can be installed. In case of this example,
sdk-managercan be installed with v1.6.0 or any other equivalent version, say v1.7.4 if available, but not v2.0.0.
To install nRF Util commands from an installation set, use the following command pattern with the --set argument and the path to the file:
nrfutil install --set <file_path>
For example:
nrfutil install --set ./requirement.json