nix-classicNix 包管理器经典、稳定的接口,使得包管理变得可靠、可复现且可声明。 部分 Nix 命令,例如
nix-build、nix-shell、nix-env和nix-store,拥有各自的页面。 另请参阅:nix。 更多信息:https://nixos.org/。
nix-env {{[-qaP|--query --available --attr-path]}} {{搜索词正则表达式}}
nix-shell {{[-p|--packages]}} {{包1 包2 包3 ...}}
nix-env {{[-iA|--install --attr]}} {{nixpkgs.包1 nixpkgs.包2 ...}}
nix-store {{[-q|--query]}} --tree /nix/store/{{校验和-包名-版本.扩展名}}
nix-channel --update
nix-collect-garbage