Added section about verifying nvm install using the command util

Oskar Eriksson 2016-04-27 08:12:53 +02:00
parent b0693f2d6a
commit 804eae30fb
1 changed files with 8 additions and 0 deletions

View File

@ -44,6 +44,14 @@ Eg: `curl ... | NVM_DIR="path/to/nvm" bash`
Note: On OSX, if you get `nvm: command not found` after running the install script, your system may not have a [.bash_profile file] where the command is set up. Simple create one with `touch ~/.bash_profile` and run the install script again.
### Verify installation
To verify that nvm has been installed, do
command -v nvm
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.
### Manual install
For manual install create a folder somewhere in your filesystem with the `nvm.sh` file inside it. I put mine in `~/.nvm`.