-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathinit-application.sh
More file actions
219 lines (188 loc) · 3.1 KB
/
init-application.sh
File metadata and controls
219 lines (188 loc) · 3.1 KB
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
#!/usr/bin/env zsh
set -ex
# brew core below
local runtime_environment=(
coreutils
gcc
glib
gnupg
python
ipython
node
deno
oven-sh/bun/bun
openssl
rust
golang
tinygo-org/tools/tinygo
luarocks
)
local sys_pref_tool=(
htop
duti
tree
ncdu
dua-cli
pandoc
mas
mackup
coreutils
ffmpeg
gdu
)
local terminal_tool=(
screen
tmux
gnu-sed
terminal-notifier
source-highlight
zoxide
colordiff
expect
zsh
asciinema
ranger
lazygit
neovim
tokei
jless
lnav
librsvg
imagemagick
watch
ripgrep
fzf
fd
typst
trzsz-ssh
)
local network_tool=(
git
git-lfs
curl
wget
aria2
laggardkernel/tap/iterm2-zmodem
telnet
httpie
rs/tap/curlie
iproute2mac
netcat
socat
iperf3
doggo
)
local im_app=(
discord
telegram
)
# brew cask below
local terminal_app=(
iterm2
warp
ghostty
)
local network_app=(
google-chrome
teamviewer
rapidapi
postman
wireshark
netspot
tailscale
# sing-box client
sfm
)
local databse_manager=(
datagrip
)
local editor_IDE_app=(
visual-studio-code
webstorm
heynote
)
local dev_utils_app=(
orbstack
)
local system_helper_service_app=(
raycast
istat-menus
keycastr
snipaste
ubersicht
monitorcontrol
maczip
jordanbaird-ice
wacom-tablet
oversight
input-source-pro
trex
# replace to logi-options plus https://www.logitech.com/en-us/software/logi-options-plus.html
# logitech-options
homebrew/cask-fonts/font-hack-nerd-font
alt-tab
)
local media_entertainment_app=(
neteasemusic
iina
)
local office_app=(
obsidian
wpsoffice
)
local ai_cli=(
gemini-cli
)
local ai_app=(
codex
)
local design_app=(
figma
spline
blender
)
local gaming=(
steam
discord
)
local mas_app_cn=(
836500024 # WeChat
451108668 # QQ
1449962996 # 腾讯柠檬清理(Lite) (CN)
)
local mas_app_en=(
1500855883 # CapCut
1233965871 # ScreenBrush
747648890 # Telegram
1136220934 # Infuse
)
local npm_global_app=(
node-gyp
typescript
ts-node
tsx
zx
@typescript/native-preview
git-split-diffs
serve
pm2
svgo
esbuild
vercel
dependency-cruiser
depcheck
@eslint/config-inspector
@ast-grep/cli
)
brew install ${runtime_environment[@]} ${sys_pref_tool[@]} \
${terminal_tool[@]} ${network_tool[@]}
brew link --overwrite ${runtime_environment[@]} ${sys_pref_tool[@]} \
${terminal_tool[@]} ${network_tool[@]}
brew install --cask ${databse_manager[@]} ${terminal_app[@]} ${network_app[@]} ${editor_IDE_app[@]} \
${system_helper_service_app[@]} \
${dev_utils_app} ${media_entertainment_app[@]} ${im_app[@]} ${office_app[@]} ${design_app[@]} ${ai_app[@]} ${gaming[@]}
mas install ${mas_app_cn[@]}
## need manually switch App Store Account
# mas install ${mas_app_en[@]}
npm install --global pnpm yarn
pnpm install --global ${npm_global_app[@]}