1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 16:13:31 +02:00

nix-env: improve page (#2807)

- add example showing installed packages
- replace status example with one for searching within installed packages
- improve description and token name in the "query available" example
This commit is contained in:
Aaron Janse 2019-02-28 08:50:42 -08:00 committed by Waldir Pimenta
parent 558edac53e
commit 2fe0762833

View file

@ -2,13 +2,17 @@
> Manipulate or query Nix user environments.
- Show available package with name or without name:
- List all installed packages:
`nix-env -qa {{pkg_name}}`
`nix-env -q`
- Show the status of available packages:
- Query installed packages:
`nix-env -qas`
`nix-env -q {{search_term}}`
- Query available packages:
`nix-env -qa {{search_term}}`
- Install package: