The following command lists the installed nRF Util commands as JSON:
nrfutil --json list
The following command searches for available nRF Util commands and prints the results as JSON:
nrfutil --json search
The following command lists installed SDKs and toolchains as JSON:
nrfutil --json sdk-manager list
The following command lists all connected devices as JSON:
nrfutil --json device list
The following command programs devices and shows progress information as JSON messages:
nrfutil --json device program --traits nordicDfu --firmware <path_to_dfu_package_file>.zip
The following command outputs formatted JSON with indentation:
nrfutil --json-pretty device list
The following command outputs only the data payload, without task progress messages:
nrfutil --json device list --skip-overhead