`nix-env` ``` • --remove-all; -r Remove all previously installed packages first. This is equivalent to running nix-env -e '.*' first, except that everything happens in a single transaction. ```