Syntax

nRF Util

tags
nRF Util

The command uses the following structure:

nrfutil help [<options>] <args>
nrfutil install [<options>] <args>
nrfutil upgrade [<options>] <args>
nrfutil uninstall [<options>] <args>
nrfutil prepare-offline [<options>] <args>
nrfutil search [<options>] <args>
nrfutil list [<options>] <args>
nrfutil self-upgrade [<options>] <args>
nrfutil config [<options>] <args>
Long Short Values Description
--log-level ARG Set the maximum log level.

Possible values:

  • off
  • error
  • warn
  • info
  • debug
  • trace
--log-output ARG Set log output type: --log-output=stdout --log-output=file ...

If not specified, the default is to log to file, equivalent with --log-output=file.

Possible values:

  • file: Log to file. Logs are written to file in {USER_HOME}/.nrfutil/logs or {NRFUTIL_HOME}/logs if the environment variable NRFUTIL_HOME is defined
  • stdout: Log to stdout. Can be formatted to JSON
--json - Print output in a JSON Lines format.
--json-pretty - Print output as formatted JSON.
--skip-overhead - Skip all message overhead when in JSON output mode, outputting only the data part of "info" messages and ignoring the rest.
--changelog - Print the latest changelog entry.
--changelog-full - Print the full changelog.
--version -V - Print version information.
--help-extended - Show comprehensive documentation

See the help subcommand for more viewing options.
--license - Show license information for in-built dependencies.
--x-sbom - (Experimental) Output the CycloneDX Software Bill of Materials (SBOM) for the installed version of this command.
--detect-proxy - Invoke libproxy's 'proxy' utility program to retrieve proxy server info and use it.

nrfutil will look for the proxy utility in the system PATH; if not present there, it will look in /.nrfutil/proxy_utils/.
--help -h - Print help (see a summary with -h).

To see the complete list of subcommands and available options, run nrfutil --help.