dev/node: bootstrap => install
This commit is contained in:
parent
7972ca54a2
commit
f1f10bc6df
12
dev/node/install
Executable file
12
dev/node/install
Executable 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
|
Loading…
Reference in a new issue