I'm trying to install npm
on ubuntu 11.04 using the "git all the way" method found in this gist
I keep getting this error after running sudo make install
on npm
$ sudo make install
! [ -d .git ] || git submodule update --init --recursive
node cli.js install -g -f
bash: node: command not found
make: *** [install] Error 127
I know this is something wrong with bash
, but I'm not very good with bash.
EDIT
running the node
command in the terminal brings up the node
shell
as expected