HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

nix-channel — Manage `nix` update channels. More information: <https://nixos.wiki/wiki/Nix_channels>.

Submitted by: @import:tldr-pages··
0
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 --list


Add a channel:
nix-channel --add {{https://nixos.org/channels/nixpkgs-unstable}}


Update package list of all channels:
nix-channel --update

Code Snippets

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

Context

tldr-pages: common/nix-channel

Revisions (0)

No revisions yet.