Update 'Nix'
parent
1fc3a282bd
commit
dfb5cf3122
5
Nix.md
5
Nix.md
|
@ -18,7 +18,8 @@ You can install packages with `nix-env --install`. `nix-env --query` lists all d
|
|||
For graphical acceleration, desktop integration, and fixing locale warnings, see this [ArchWiki page](https://wiki.archlinux.org/title/Nix).
|
||||
|
||||
### Basic of nix package manager (cheatsheet)
|
||||
|-------------------------+----------------------------------------+----------------------------|
|
||||
|
||||
|
||||
| Description | Command | Example |
|
||||
|-------------------------+----------------------------------------+----------------------------|
|
||||
| List All Installed pkgs | nix-env -q | |
|
||||
|
@ -28,7 +29,7 @@ For graphical acceleration, desktop integration, and fixing locale warnings, see
|
|||
| Upgrade single pkg | nix-env -u pkg_name | nix-env -u librewolf |
|
||||
| Upgrade All pkg | nix-env -u | nix-env -u |
|
||||
| Uninstall pkg | nix-env -e pkg_name | nix-env -e sakura |
|
||||
|-------------------------+----------------------------------------+----------------------------|
|
||||
|
||||
|
||||
Note: Installed binaries are stored in ~/.nix-profile/bin
|
||||
|
||||
|
|
Loading…
Reference in a new issue