mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 04:46:42 +00:00
22 lines
494 B
Plaintext
22 lines
494 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, osx]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|