dev/node: bootstrap => install

This commit is contained in:
Henrik Lissner 2016-12-23 20:02:16 -05:00
parent 7972ca54a2
commit f1f10bc6df
2 changed files with 12 additions and 0 deletions

View file

12
dev/node/install Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
case $OSTYPE in
darwin*)
brew install node
;;
linux*)
if [[ -f /etc/arch-release ]]; then
sudo pacman --needed --noconfirm -S nodejs npm
fi
;;
esac