Files
cheatsheet-tldr/tldr/nix-channel
2025-07-05 00:19:48 +00:00

22 lines
399 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# nix-channel
> Manage `nix` update channels.
> More information: <https://nixos.wiki/wiki/Nix_channels>.
- List current channels:
`nix-channel --list`
- Add a channel:
`nix-channel --add {{https://nixos.org/channels/nixpkgs-unstable}}`
- Update package list of all channels:
`nix-channel --update`