Skip to content

Commit 28020d0

Browse files
author
mokou
committed
docs: Add note on uninstalling to README
1 parent 0ef9594 commit 28020d0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,24 @@ cargo uninstall rustlings
118118
rm -r rustlings/ # or on Windows: rmdir /s rustlings
119119
```
120120

121+
## Uninstalling Rustlings
122+
123+
If you want to remove Rustlings from your system, there's two steps. First, you'll need to remove the exercises folder that the install script created
124+
for you:
125+
126+
``` bash
127+
rm -rf rustlings # or your custom folder name, if you chose and or renamed it
128+
```
129+
130+
Second, since Rustlings got installed via `cargo install`, it's only reasonable to assume that you can also remove it using Cargo, and
131+
exactly that is the case. Run `cargo uninstall` to remove the `rustlings` binary:
132+
133+
``` bash
134+
cargo uninstall rustlings
135+
```
136+
137+
Now you should be done!
138+
121139
## Completion
122140

123141
Rustlings isn't done; there are a couple of sections that are very experimental and don't have proper documentation. These include:

0 commit comments

Comments
 (0)