aboutsummaryrefslogtreecommitdiff
path: root/src/nix/profile-remove.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/profile-remove.md')
-rw-r--r--src/nix/profile-remove.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/nix/profile-remove.md b/src/nix/profile-remove.md
index ba85441d8..c76f4b09c 100644
--- a/src/nix/profile-remove.md
+++ b/src/nix/profile-remove.md
@@ -2,10 +2,17 @@ R""(
# Examples
-* Remove a package by position:
+* Remove a package by name:
```console
- # nix profile remove 3
+ # nix profile remove hello
+ ```
+
+* Remove a package by index
+ *(deprecated, will be removed in a future version)*:
+
+ ```console
+ $ nix profile remove 3
```
* Remove a package by attribute path: