Browse Source

Update readme and comment

master
Tim Caswell 14 years ago
parent
commit
37ffd82af4
  1. 8
      README.markdown
  2. 2
      nvm.sh

8
README.markdown

@ -19,13 +19,13 @@ Often I also put in a line to use a specific version of node. @@ -19,13 +19,13 @@ Often I also put in a line to use a specific version of node.
## Usage
To download, compile, and install the v0.2.5 release of node, do this:
To download, compile, and install the v0.4.1 release of node, do this:
nvm install v0.2.5
nvm install v0.4.1
And then in any new shell just use the installed version:
nvm use v0.2.5
nvm use v0.4.1
If you want to see what versions are available:
@ -37,5 +37,5 @@ To restore your PATH, you can deactivate it. @@ -37,5 +37,5 @@ To restore your PATH, you can deactivate it.
To set a default Node version to be used in any new shell, use the alias 'default':
nvm alias default v0.2.5
nvm alias default v0.4.1

2
nvm.sh

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
# Implemented by Tim Caswell <tim@creationix.com>
# with much bash help from Matthew Ranney
# Auto detect the NVM_DIR using magic bash 3.x stuff
# Auto detect the NVM_DIR
if [ ! -d "$NVM_DIR" ]; then
export NVM_DIR=$(cd $(dirname ${BASH_SOURCE[0]:-$0}); pwd)
fi

Loading…
Cancel
Save