This commit is contained in:
2026-03-02 16:35:14 +01:00
parent d182532b34
commit a9aed244fb
17 changed files with 699 additions and 52 deletions

23
dist/nix-cheatsheet.md vendored Normal file
View File

@@ -0,0 +1,23 @@
# Nix package manager cheatsheet
## Search for packages
```sh
nix search nixpkgs python
```
## Add packages to current shell
```sh
# single package
nix shell nixpkgs#python3
# multiple packages
nix shell nixpkgs#python3 nixpkgs#nodejs
```
## Run a command directly
```sh
nix run nixpkgs#python3 -- --version
```