Skip to content

Command line

Lev Zhukov edited this page Oct 15, 2026 · 1 revision

Command line

Run commands from the repository directory with python nugget_cli.py. Packaged builds expose the same CLI through Nugget. Use --help for the full list and per-command options.

Common commands

python nugget_cli.py devices --json
python nugget_cli.py tweaks list --all --json
python nugget_cli.py preset list --json
python nugget_cli.py apply --dry-run --ios-version 27.0 --model iPhone16,1 --preset none --enable SBBuildNumber --json
python nugget_cli.py reset --dry-run --springboard --json
python nugget_cli.py diagnostics show --json

With --json, stdout contains one JSON object with schema, command, success, exit_code, data, and error. Progress and human messages go to stderr.

Dry runs do not back up, restore, or modify a device. Real apply and reset commands perform device operations and need a connected, unlocked device. CLI details.

Clone this wiki locally