I am trying to install npm on the amazon ec2 instance.
I already installed git and node.js in my instance
What I typed was these
git clone git://github.com/joyent/node.git
cd node
git checkout v0.10.20
./configure
make
sudo make install
git clone https://github.com/isaacs/npm.git
cd npm
sudo make install
But will end up with this error
rm -rf \
.building_ronn \
html/doc \
html/api \
man
scripts/doc-build.sh doc/api/npm-test.md man/man3/npm-test.3
make[1]: Entering directory `/home/ec2-user/npm'
node cli.js install ronn --no-global
bash: node: command not found
make[1]: *** [node_modules/.bin/ronn] Error 127
make[1]: Leaving directory `/home/ec2-user/npm'
make: *** [man/man3/npm-test.3] Error 2