-
Notifications
You must be signed in to change notification settings - Fork 8
/
init-application.sh
173 lines (146 loc) · 2.38 KB
/
init-application.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
#!/usr/bin/env zsh
set -ex
local brew_taps=(
denji/nginx
)
# brew core below
local runtime_environment=(
gcc
glib
python
ipython
node
openssl
)
local sys_pref_tool=(
htop
duti
tree
ncdu
pandoc
mas
mackup
coreutils
ffmpeg
)
local terminal_tool=(
screen
tmux
gnu-sed
terminal-notifier
source-highlight
md5sha1sum
autojump
colordiff
expect
zsh
asciinema
ranger
lazygit
)
local network_tool=(
git
curl
wget
aria2
annie
proxychains-ng
lrzsz
nginx-full
telnet
mosh
httpie
rs/tap/curlie
)
# brew cask below
local terminal_app=(
iterm2
)
local network_app=(
shadowsocksx-ng-r
google-chrome
telegram
teamviewer
paw
wireshark
netspot
)
local databse_manager=(
datagrip
)
local editor_IDE_app=(
typora
visual-studio-code
webstorm
pycharm
)
local version_control_app=(
fork
)
local dev_utils_app=(
docker
kitematic
)
local system_helper_service_app=(
alfred
intel-power-gadget
istat-menus
keycastr
snipaste
kap
ubersicht
monitorcontrol
)
local quicklook_plugins=(
qlvideo
qlstephen
qlmarkdown
qlcolorcode
qlprettypatch
quicklook-csv
webpquicklook
quicklook-json
)
local media_entertainment_app=(
neteasemusic
iina
)
local office_app=(
microsoft-office
)
local adobe=(
adobe-creative-cloud
sketch
figma
# clip-studio-paint
)
local gaming=(
steam
)
local mas_only_app=(
441258766 # Magnet
836500024 # WeChat
451108668 ## QQ
# 1449412482 # Reeder 4
1233965871 # ScreenBrush
)
local npm_global_app=(
node-gyp
nodemon
esm
typescript
ts-node
serve
pm2
eloc
)
brew tap ${brew_taps[@]}
brew install ${runtime_environment[@]} ${sys_pref_tool[@]} \
${terminal_tools[@]} ${network_tool[@]}
brew link --overwrite ${runtime_environment[@]} ${sys_pref_tool[@]} \
${terminal_tools[@]} ${network_tool[@]}
brew install --cask ${databse_manager[@]} ${terminal_app[@]} ${network_app[@]} ${editor_IDE_app[@]} \
${version_control_app[@]} ${system_helper_service_app[@]} ${quicklook_plugins[@]} \
${dev_utils_app} ${media_entertainment_app[@]} ${office_app[@]} ${adobe[@]} ${gaming[@]}
mas install ${mas_only_app[@]}
npm i -g ${npm_global_app[@]}