git clone https://github.com/joyent/node.git
cd node
mkdir ~/local
./configure --prefix=$HOME/local/node
make
make install
export PATH=$HOME/local/node/bin:$PATH
Now if you open a new terminal window
node --version
you should see the new version number.
No comments:
Post a Comment