commands.sh

darwin-rebuild

macos

Rebuild and switch to a Nix-based Darwin (macOS) system configuration.

More info →

Examples (3)

Rebuild and switch to the specified Darwin configuration

darwin-rebuild switch --flake path/to/flake

Build the configuration but don't switch to it

darwin-rebuild build --flake path/to/flake

Display help

made by @shridhargupta | data from tldr-pages