From 0b3744d1f23c8af5b59b32dc36ff4b9d5849fe68 Mon Sep 17 00:00:00 2001 From: jiangtaoki <55168558+jiangtaoki@users.noreply.github.com> Date: Mon, 28 Jun 2021 08:01:16 +0800 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fbd0ef4..0df63e5 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ Eg: `curl ... | NVM_DIR="path/to/nvm"`. Ensure that the `NVM_DIR` does not conta #### Troubleshooting on Linux -On Linux, after running the install script, if you get `nvm: command not found` or see no feedback from your terminal after you type `command -v nvm`, simply close your current terminal, open a new terminal, and try verifying again. +On Linux, after running the install script, if you get `nvm: command not found` or see no feedback from your terminal after you type `command nvm -v`, simply close your current terminal, open a new terminal, and try verifying again. Alternatively, you can run run the following commands for the different shells on the command line: *bash*: `source ~/.bashrc` @@ -145,7 +145,7 @@ You can use a task: To verify that nvm has been installed, do: ```sh -command -v nvm +command nvm -v ``` which should output `nvm` if the installation was successful. Please note that `which nvm` will not work, since `nvm` is a sourced shell function, not an executable binary.