nix-env-uninstall(1)

nix-env-uninstall1

Remove packages from user environment

Usage

nix-env {--uninstall | -e} drvnames…

Overview

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

$ nix-env --uninstall gcc
$ nix-env --uninstall '.*' (remove everything)

From nix-bin 2.26.3+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.