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:
parent
558edac53e
commit
2fe0762833
1 changed files with 8 additions and 4 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue