1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

Merge pull request #13224 from NixOS/nix-profile-add

Rename `nix profile install` to `nix profile add`
This commit is contained in:
Eelco Dolstra 2025-05-20 20:15:31 +02:00 committed by GitHub
commit e22142e11a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 86 additions and 75 deletions

View file

@ -0,0 +1,6 @@
---
synopsis: "Rename `nix profile install` to `nix profile add`"
prs: [13224]
---
The command `nix profile install` has been renamed to `nix profile add` (though the former is still available as an alias). This is because the verb "add" is a better antonym for the verb "remove" (i.e. `nix profile remove`). Nix also does not have install hooks or general behavior often associated with "installing".