nix-channel
manages Nix channel subscriptions
TLDR
List channels
$ nix-channel --list
Add channel$ nix-channel --add [https://nixos.org/channels/nixpkgs-unstable] [nixpkgs]
Update channels$ nix-channel --update
Remove channel$ nix-channel --remove [nixpkgs]
Update specific channel$ nix-channel --update [nixpkgs]
Show generation$ nix-channel --list-generations
SYNOPSIS
nix-channel [options]
DESCRIPTION
nix-channel manages Nix channel subscriptions. Channels provide package sets.
The tool handles channel URLs. Alternative to flakes for package sources.
PARAMETERS
--list
List subscribed channels.--add URL NAME
Subscribe to channel.--update [NAME]
Update channels.--remove NAME
Unsubscribe from channel.--list-generations
Show channel generations.--help
Display help information.
CAVEATS
Legacy approach. Consider flakes instead. Per-user channels.
HISTORY
nix-channel is the traditional Nix way of subscribing to package repositories.
SEE ALSO
nix(1), nix-env(1), nixos-rebuild(1)
