You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
843 B

15 years ago
# Node Version Manager
## Installation
First you'll need to make sure your system has a c++ compiler. For OSX, XCode will work, for Ubuntu, the build-essential and libssl-dev packages work.
15 years ago
To install create a folder somewhere in your filesystem with the "`nvm.sh`" file inside it. I put mine in a folder called "`.nvm`".
Or if you have `git` installed, then just clone it:
git clone git://github.com/creationix/nvm.git ~/.nvm
15 years ago
To activate nvm, you need to source it from your bash shell
15 years ago
. ~/.nvm/nvm.sh
15 years ago
## Usage
To download, install, and use the v0.2.5 release of node do this:
15 years ago
nvm install v0.2.5
15 years ago
And then in any new shell just use the installed version:
nvm use v0.2.5
15 years ago
If you want to see what versions you have installed issue:
15 years ago
nvm ls
15 years ago
To restore your PATH, you can deactivate it.
15 years ago
nvm deactivate