<sub>*NB. The installer can use `git`, `curl`, or `wget` to download `nvm`, whatever is available.*</sub>
Note: On OS X, 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.
Note: On OS X, 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. Simply create one with `touch ~/.bash_profile` and run the install script again.
### Verify installation
To verify that nvm has been installed, do
To verify that nvm has been installed, do:
command -v nvm
@ -147,7 +147,7 @@ If you want to see what versions are available to install:
@@ -147,7 +147,7 @@ If you want to see what versions are available to install:
nvm ls-remote
To restore your PATH, you can deactivate it.
To restore your PATH, you can deactivate it:
nvm deactivate
@ -235,15 +235,15 @@ Tests are written in [Urchin]. Install Urchin (and other dependencies) like so:
@@ -235,15 +235,15 @@ Tests are written in [Urchin]. Install Urchin (and other dependencies) like so:
There are slow tests and fast tests. The slow tests do things like install node
and check that the right versions are used. The fast tests fake this to test
things like aliases and uninstalling. From the root of the nvm git repository,
run the fast tests like this.
run the fast tests like this:
npm run test/fast
Run the slow tests like this.
Run the slow tests like this:
npm run test/slow
Run all of the tests like this
Run all of the tests like this:
npm test
@ -259,14 +259,14 @@ Put the above sourcing line just below the sourcing line for NVM in your profile
@@ -259,14 +259,14 @@ Put the above sourcing line just below the sourcing line for NVM in your profile
### Usage
nvm
nvm:
$ nvm [tab][tab]
alias deactivate install ls run unload
clear-cache exec list ls-remote unalias use
current help list-remote reinstall-packages uninstall version
nvm alias
nvm alias:
$ nvm alias [tab][tab]
default
@ -274,12 +274,12 @@ nvm alias
@@ -274,12 +274,12 @@ nvm alias