diff options
| author | mokou <mokou@posteo.de> | 2020-12-29 11:23:08 +0100 |
|---|---|---|
| committer | mokou <mokou@posteo.de> | 2020-12-29 11:23:08 +0100 |
| commit | 28020d0c54e795c465f59cb92954599de8834549 (patch) | |
| tree | ba6d16e83484b1941cbd2bc4007e9f3f18d2494f | |
| parent | 0ef95947cc30482e63a7045be6cc2fb6f6dcb4cc (diff) | |
docs: Add note on uninstalling to README
| -rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -118,6 +118,24 @@ cargo uninstall rustlings rm -r rustlings/ # or on Windows: rmdir /s rustlings ``` +## Uninstalling Rustlings + +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 +for you: + +``` bash +rm -rf rustlings # or your custom folder name, if you chose and or renamed it +``` + +Second, since Rustlings got installed via `cargo install`, it's only reasonable to assume that you can also remove it using Cargo, and +exactly that is the case. Run `cargo uninstall` to remove the `rustlings` binary: + +``` bash +cargo uninstall rustlings +``` + +Now you should be done! + ## Completion Rustlings isn't done; there are a couple of sections that are very experimental and don't have proper documentation. These include: |
