nix
Ein leistungsfähiger Paketmanager, der das Paketmanagement zuverlässig, reproduzierbar und deklarativ macht.
nix
ist experimentell und muss gesondert aktiviert werden. Für die klassische, stabile Schnittstelle siehetldr nix classic
. Einige Unterbefehle wiebuild
,develop
,flake
,registry
,profile
,search
,repl
,store
,edit
,why-depends
usw. haben ihre eigene Dokumentation. Weitere Informationen: https://nix.dev/manual/nix/stable/command-ref/new-cli/nix.
nix
Befehl:mkdir {{[-p|--parents]}} ~/.config/nix; echo 'experimental-features = nix-command flakes' > ~/.config/nix/nix.conf
nix search nixpkgs {{suchbegriff}}
nix shell {{nixpkgs#pkg1 nixpkgs#pkg2 nixpkgs#pkg3 ...}}
nix profile install {{nixpkgs#pkg1 nixpkgs#pkg2 nixpkgs#pkg3 ...}}
nix store gc
nix repl
nix help {{unterbefehl}}