diff --git a/README.md b/README.md index d9b29ced..97775768 100644 --- a/README.md +++ b/README.md @@ -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" ```