nix-env

nix-env

TLDR

List all installed packages

>_ nix-env -q
copy

Query installed packages

>_ nix-env -q [search_term]
copy

Query available packages

>_ nix-env -qa [search_term]
copy

Install package

>_ nix-env -i [pkg_name]
copy

Install a package from a URL

>_ nix-env -i [pkg_name] --file [example.com]
copy

Uninstall package

>_ nix-env -e [pkg_name]
copy

Upgrade one package

>_ nix-env -u [pkg_name]
copy

Upgrade all packages

>_ nix-env -u
copy

Copied to clipboard
free 100$ digital ocean credit