-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup
executable file
·24 lines (18 loc) · 650 Bytes
/
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash
set -e
# zsh
echo "🎁 zsh..."
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# nvm
echo "🎁 nvm..."
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
echo "⛑ setting up node..."
nvm install node
# run npm things
echo "⛑ npm installing some stuff..."
npm install -g bower
npm install -g polymer-cli
npm install -g diff-so-fancy