mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-12-06 22:52:23 +03:00
[Docs] manual uninstall: expand the default NVM_DIR
A quoted `~` never expands, so with `NVM_DIR` unset, the old step removed nothing. Spotted in #4015.
This commit is contained in:
1 file changed
+1
-1
@@ -1120,7 +1120,7 @@ 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:
|
||||
|
||||
```sh
|
||||
$ nvm_dir="${NVM_DIR:-~/.nvm}"
|
||||
$ nvm_dir="${NVM_DIR:-$HOME/.nvm}"
|
||||
$ nvm unload
|
||||
$ rm -rf "$nvm_dir"
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user