nix3-profile-remove(1)
π
nix profile remove β from the nix3-profile-remove(1) manual
β οΈ Warning β οΈ bestie. this program is experimental and its interface is subject to change. like, the vibes are still in beta. don't build your whole personality on it π
okay so this page lives in the General Commands Manual, and it's all about yeeting packages out of your profile π
β¨ Name β¨
nix profile remove β remove packages from a profile π
πΈ Synopsis πΈ
nix profile remove [optionβ¦] elementsβ¦
π¦ Examples π¦
- Remove a package by name:
# nix profile remove hello
- Remove all the packages (scorched earth, no notes):
# nix profile remove --all
- Remove packages by regular expression (regex girlies rise up π):
# nix profile remove --regex '.*vim.*'
- Remove a package by store path:
# nix profile remove /nix/store/xwjlac5ay8hw3djdm5llhjz79isgngbl-hello-2.10
π Description π
This command removes a package from a profile. That's it, that's the whole thing. simple, clean, iconic β¨
π Options π
--allβ match, like, every package in the profile. all of them. gone π«Ά--profilepath β the profile you wanna operate on, bestie.--regexpattern β a regular expression that matches one or more packages in the profile.
π§ Common evaluation options π§
--argname expr β pass the value expr as the argument name to Nix functions.--arg-from-filename path β pass the contents of the file path as the argument name to Nix functions.--arg-from-stdinname β pass the contents of stdin as the argument name to Nix functions.--argstrname string β pass the string string as the argument name to Nix functions.--debuggerβ start an interactive environment if evaluation fails. main character debugging arc π--eval-storestore-url β the URL of the Nix store to use for evaluation, i.e. to store derivations (.drvfiles) and inputs referenced by them.--impureβ allow access to mutable paths and repositories. living dangerously, we love that π₯--include/-Ipath β add path to search path entries used to resolve lookup paths.
This option may be given multiple times.
Paths added through -I take precedence over the nix-path configuration setting and the NIX_PATH environment variable.
--override-flakeoriginal-ref resolved-ref β override the flake registries, redirecting original-ref to resolved-ref.
π Logging-related options π
--debugβ set the logging verbosity level to βdebugβ.--log-formatformat β set the format of log output; one ofraw,internal-json,barorbar-with-logs.--print-build-logs/-Lβ print full build logs on standard error.--quietβ decrease the logging verbosity level. shhh π€«--verbose/-vβ increase the logging verbosity level. tell me EVERYTHING π
π Miscellaneous global options π
--helpβ show usage information.--offlineβ disable substituters and consider all previously downloaded files up-to-date.--optionname value β set the Nix configuration setting name to value (overridingnix.conf).--refreshβ consider all previously downloaded files out-of-date.--repairβ during evaluation, rewrite missing or corrupted files in the Nix store. during building, rebuild missing or corrupted store paths.--versionβ show version information.
π Note See man nix.conf for overriding configuration settings with command line flags.
and that's the whole page, bestie π«Ά this was nix3-profile-remove(1) from the General Commands Manual, and the footer is just the page name nix3-profile-remove(1) again doing its little encore. anyway, go forth and remove packages responsibly, no cap πβ¨π
π¦ where this page comes from
- fedora 44: nix-core 2.35.3-2.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms