nixoscommands
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nixoscommands [2026/01/18 17:33] – david | nixoscommands [2026/01/28 18:43] (current) – david | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ====Update the root user's channel named ‘nixos’ before rebuilding the system:==== | ====Update the root user's channel named ‘nixos’ before rebuilding the system:==== | ||
| + | |||
| + | sudo nix-channel --update | ||
| + | |||
| + | or | ||
| sudo nixos-rebuild switch --upgrade | sudo nixos-rebuild switch --upgrade | ||
| Line 20: | Line 24: | ||
| sudo nix-collect-garbage -d | sudo nix-collect-garbage -d | ||
| \\ | \\ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | |||
| + | [[nixoscategory|Back to Nixos Home]] | ||
nixoscommands.1768754035.txt.gz · Last modified: by david
