-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrew.sh
202 lines (172 loc) · 5.26 KB
/
brew.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
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
#!/usr/bin/env bash
# Filename: brew.sh
# Desc: TODO (some description)
# Author: xutao(Tony Xu), [email protected]
# Company: myself
if [ "$(uname -s)" = 'Darwin' ]; then
# 允许任何来源否则 cask 安装的软件打不开
sudo spctl --master-disable
# Homebrew
if ! xcode-select --print-path &> /dev/null; then
xcode-select --install &> /dev/null
fi
[ -z "$(which brew)" ] &&
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "Updating homebrew"
# brew tap caskroom/cask
# http://www.nyx.net/~mlu/pages/computing/installing_and_configuring/installing_and_configuring_command-line_utilities/
# brew install coreutils
brew install uutils-coreutils
brew install grep
brew install gnu-sed
brew install tree pv
# brew install rlwrap
brew install zsh
brew install starship
brew install tmux
brew install brew-cask-completion
brew install lsd
brew install tree
brew install dust
brew install ncdu
brew install duf
brew install bat
brew install hexyl
brew install viddy
brew install delta
brew install fd
brew install fzf
brew install zoxide # fast jump dir
# brew install ag
brew install sd # sed like
brew install ripgrep
brew install cscope
# brew install jq
brew install dasel
brew install jid
brew install hyperfine
brew install reattach-to-user-namespace
brew install git
brew install git-lfs
git lfs install
brew install gitui
brew install tig
brew install tokei
# brew install cloc
brew install graphviz
brew install imagemagick
brew install ffmpeg
brew install gnupg
brew install highlight
brew install p7zip
brew install unar
brew install ranger
brew install htop
brew install bottom
brew install procs
brew install iproute2mac
brew install wget
brew install lux
brew install xh
brew install subnetcalc
brew install telnet
brew install netcat
brew install socat
brew install nmap
brew install proxychains-ng
brew install shellcheck
brew install universal-ctags
brew install cheat
brew install tealdeer
brew install yazi
brew install ruby
# brew install vim # /usr/local/bin/vim
# $(brew --prefix)/opt/fzf/install
# brew install mycli python pyenv flake8 go node yarn
# brew install macvim # And add alias vim='mvim -v' to ~/.bashrc
# brew install maven ant fish sbt cmus liboauth exiftool doxygen leiningen
# brew install gnuplot --with-qt --with-cairo
# nutstore 手动
brew install --cask raycast
brew install --cask hammerspoon
brew install --cask karabiner-elements
# brew install --cask itsycal
# brew install --cask stats
brew install --cask only-switch
brew install --cask dozer
brew install --cask cheatsheet
brew install --cask bob
brew install --cask tencent-lemon
brew install --cask iterm2
brew install --cask wezterm
brew install --cask keycastr
brew install --cask wpsoffice-cn
brew install --cask drawio
brew install --cask visual-studio-code
brew install --cask sublime-text
brew install --cask obsidian
brew install --cask mubu
brew install --cask yixiangbiji
brew install --cask baidunetdisk
brew install --cask picgo
brew install --cask updf
# brew install --cask skim
# brew install --cask switchresx
brew install --cask todesk
brew install --cask microsoft-remote-desktop
brew install --cask vnc-viewer
brew install --cask iina
# brew install lihaoyun6/tap/quickrecorder
brew install --cask qqmusic
# brew install --cask neteasemusic
brew install --cask google-chrome
brew install --cask microsoft-edge
brew install --cask arc
brew install --cask dingtalk
brew install --cask wechat
brew install --cask wireshark
brew install --cask tunnelblick
brew install --cask clashx
# brew install --cask v2rayx
# brew install --cask macpass
brew install --cask keepassxc
brew install --cask snipaste
brew install --cask sequel-ace
brew install --cask alt-tab
# brew tap homebrew/cask-versions
brew tap homebrew/cask-fonts
brew install --cask font-hack-nerd-font
# brew install --cask qlmarkdown quicklook-json appcleaner
# brew install --cask kawa # A macOS input source switcher with user-defined shortcuts.
# switchkey automute
brew install --cask vmware-fusion
# brew install --cask docker
brew install --cask orbstack
# brew install virtualbox virtualbox-extension-pack vagrant
# brew install google-backup-and-sync postman tor-browser
# brew install wiznote
# brew install remoteviewer # spice client
# brew install aerial # 屏保
# brew java mat visualvm fluid caffeine xquartz inkscape xbar
# brew install alfred totalfinder
# brew tap jeffreywildman/homebrew-virt-manager
# brew install virt-manager virt-viewer
# Patched version of tmux
# brew tap waltarix/homebrew-customs
# brew install waltarix/homebrew-customs/tmux
# Create
gem install gem-ctags
gem ctags
fi
# brew install homebrew/services
# 下载 https://github.com/shadowsocks/ShadowsocksX-NG/releases
# brew install proxychains-ng
# /usr/local/etc/proxychains.conf
# [ProxyList]
# socks5 127.0.0.1 1081
# proxychains4 curl -L canihazip.com/s
# brew install privoxy
# /usr/local/etc/privoxy/config
# sudo brew services list
# sudo brew services start privoxy
# Dozer https://www.jishuwen.com/d/2dRL