Install npm automatically

This commit is contained in:
Tim Caswell
2010-12-10 11:42:19 -08:00
parent 91d2be5179
commit a078d6427b
2 changed files with 6 additions and 1 deletions

2
nvm.sh
View File

@@ -46,6 +46,8 @@ nvm()
make && \
make install && \
nvm use $2
echo "Installing NPM..."
curl http://npmjs.org/install.sh | sh
cd $START
;;
"deactivate" )