[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:
Jordan Harband committed 2026-12-03 22:47:22 -08:00
1 parent 22714ebff2
commit efdcfb0294
1 file changed
+1 -1
+1 -1
View File
@@ -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"
```