mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
Updated manual uninstall instructions in readme. Now suggests removing the installation directory before running nvm unload.
This commit is contained in:
parent
294ff9e3aa
commit
baa0577d30
@ -844,12 +844,12 @@ As a potential alternative, @mhart (a Node contributor) has some [Docker images
|
||||
|
||||
To remove `nvm` manually, execute the following:
|
||||
|
||||
First, use `nvm unload` to remove the nvm command from your terminal session and delete the installation directory:
|
||||
First, delete the installation directory and use `nvm unload` to remove the nvm command from your terminal session:
|
||||
|
||||
```sh
|
||||
$ nvm_dir="${NVM_DIR:-~/.nvm}"
|
||||
$ nvm unload
|
||||
$ rm -rf "$nvm_dir"
|
||||
$ nvm unload
|
||||
```
|
||||
|
||||
Edit `~/.bashrc` (or other shell resource config) and remove the lines below:
|
||||
|
Loading…
Reference in New Issue
Block a user