mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 18:56:16 +02:00
29 lines
555 B
Markdown
29 lines
555 B
Markdown
|
# Name
|
||
|
|
||
|
`nix-env --uninstall` - remove packages from user environment
|
||
|
|
||
|
# Synopsis
|
||
|
|
||
|
`nix-env` {`--uninstall` | `-e`} *drvnames…*
|
||
|
|
||
|
# Description
|
||
|
|
||
|
The uninstall operation creates a new user environment, based on the
|
||
|
current generation of the active profile, from which the store paths
|
||
|
designated by the symbolic names *drvnames* are removed.
|
||
|
|
||
|
{{#include ./opt-common.md}}
|
||
|
|
||
|
{{#include ../opt-common.md}}
|
||
|
|
||
|
{{#include ./env-common.md}}
|
||
|
|
||
|
{{#include ../env-common.md}}
|
||
|
|
||
|
# Examples
|
||
|
|
||
|
```console
|
||
|
$ nix-env --uninstall gcc
|
||
|
$ nix-env -e '.*' (remove everything)
|
||
|
```
|