snippetbashTip
nix-channel — Manage `nix` update channels. More information: <https://nixos.wiki/wiki/Nix_channels>.
Viewed 0 times
commandupdatenix-channelclimanagenixchannelsmore
Problem
How to use the
nix-channel command: Manage nix update channels. More information: <https://nixos.wiki/wiki/Nix_channels>.Solution
nix-channel — Manage nix update channels. More information: <https://nixos.wiki/wiki/Nix_channels>.List current channels:
nix-channel --listAdd a channel:
nix-channel --add {{https://nixos.org/channels/nixpkgs-unstable}}Update package list of all channels:
nix-channel --updateCode Snippets
List current channels
nix-channel --listAdd a channel
nix-channel --add {{https://nixos.org/channels/nixpkgs-unstable}}Update package list of all channels
nix-channel --updateContext
tldr-pages: common/nix-channel
Revisions (0)
No revisions yet.