Friday, 9 August 2013

node js can't install right on my Ubuntu computer

node js can't install right on my Ubuntu computer

I use the git to install node js, the method I use is below:
mkdir ~/local
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
git clone git://github.com/joyent/node.git
cd node
./configure --prefix=~/local
make install
cd ..
After this, I use node on my command line, it tell me no node.Any one can
help me? I got the method form https://gist.github.com/isaacs/579814, but
can't work. My path is here.

No comments:

Post a Comment