These examples cover macOS package and Nix commands. See the CLI reference for shared commands and options.
The CLI also runs Rustic backups on macOS. See backup prerequisites, setup instructions, how backups work, and the backups CLI reference.
Install the CLI
curl -fsSL https://outfitting.jfa.dev/install.sh | shNote: Supports Apple silicon. The installer verifies the ZIP against its SHA-256 file and installs to
~/.local/bin. Add that directory toPATHif it is not already there.
init
init prepares Outfitting on this machine and checks the selected source. It does not change Homebrew packages or activate Nix.
outfitting-manager initapply
apply installs packages declared in the selected profile’s Brewfile. It does not upgrade other packages or activate Nix.
outfitting-manager apply --profile personaldiff
diff compares installed Homebrew and Nix packages with the selected profile without changing the system.
outfitting-manager diffupdate
update upgrades installed Homebrew packages. It does not install missing Brewfile packages; use apply for those.
outfitting-manager updatenix
Nix commands build or activate the selected nix-darwin system. build, test, and dry-run do not activate it; switch does. nix update updates flake inputs and activates the updated system. Unlike top-level update, it does not upgrade Homebrew packages.
build
Build the system without activating it.
outfitting-manager nix buildswitch
Build and activate the system.
outfitting-manager nix switchtest
Check that the system builds without activating it.
outfitting-manager nix testdry-run
Preview the system build without activating it.
outfitting-manager nix dry-runupdate
Update flake inputs, then build and activate the system.
outfitting-manager nix updatehomebrew inventory
Save the installed Homebrew package list without changing installed packages.
outfitting-manager homebrew inventoryrecover nix
Resume an interrupted Nix profile update.
outfitting-manager recover nix