CmdID

CmdID / Commands

nh

Modern helper utility tool for the Nix/NixOS ecosystem. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Modern helper utility tool for the Nix/NixOS ecosystem. Some subcommands such as os, home, clean, and search have their own usage documentation.

Build and switch to a specified NixOS flake configuration

nh os switch path/to/flakeIdentify

Build and switch to a specified Home Manager flake configuration

nh home switch path/to/flakeIdentify

Build and switch to a nix-darwin flake configuration

nh darwin switch path/to/flake --hostname hostIdentify

Collect all garbage and gcroots from the Nix store

nh clean all --askIdentify

Search for a package in Nixpkgs

nh search nameIdentify

Generate shell completions for a specified shell

nh completions shellIdentify