CmdID

CmdID / Commands

nix-env

Manipulate or query Nix user environments. 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

List all installed packages

nix-env --queryIdentify

Query installed packages (regex is supported)

nix-env --query search_patternIdentify

Query available packages from the Nixpkgs registry

nix-env --query --available search_patternIdentify

Install a package from the Nixpkgs registry

nix-env --install --attr nixpkgs.pkg_nameIdentify

Install a package from a custom URL

nix-env --install pkg_name --file example.comIdentify

Uninstall a package

nix-env --uninstall pkg_nameIdentify

Upgrade a package

nix-env --upgrade pkg_nameIdentify

Get usage help for a specific operation (--install, --upgrade, etc.)

nix-env --help --option_nameIdentify