1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 11:15:51 +02:00
tldr/pages/osx/darwin-rebuild.md

17 lines
404 B
Markdown
Raw Normal View History

# darwin-rebuild
> Rebuild and switch to a Nix-based Darwin (macOS) system configuration.
> More information: <https://github.com/LnL7/nix-darwin>.
- 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:
`darwin-rebuild --help`