Home Explore Blog Models CI



nix

1st chunk of `src/nix/profile-remove.md`
df5f91a9d54789b5fbbabc14314b07ccdda00031a8025b1400000001000001d9
R""(

# Examples

* Remove a package by name:

  ```console
  # nix profile remove hello
  ```

* Remove all packages:

  ```console
  # nix profile remove --all
  ```

* Remove packages by regular expression:

  ```console
  # nix profile remove --regex '.*vim.*'
  ```


* Remove a package by store path:

  ```console
  # nix profile remove /nix/store/rr3y0c6zyk7kjjl8y19s4lsrhn4aiq1z-hello-2.10
  ```

# Description

This command removes a package from a profile.

)""

Title: Nix Profile Remove Command Examples and Description
Summary
This chunk details the `nix profile remove` command, used for removing packages from a Nix profile. It provides several examples demonstrating how to remove packages by name, remove all packages, remove packages matching a regular expression, or remove a package using its specific store path.