garritfra
6 years ago
4 changed files with 22 additions and 7 deletions
@ -0,0 +1,11 @@
|
||||
node -v |
||||
npm -v |
||||
|
||||
if [ $? -eq 0 ]; then |
||||
echo "node & npm already installed" |
||||
else |
||||
curl -L https://git.io/n-install | bash |
||||
sudo $HOME/n/bin/n stable |
||||
sudo rm -rf $HOME/n |
||||
fi |
||||
|
Loading…
Reference in new issue