-
Notifications
You must be signed in to change notification settings - Fork 0
/
insatall_brew.sh
143 lines (125 loc) · 1.85 KB
/
insatall_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
#!/bin/bash
echo "installing homebrew..."
which brew >/dev/null 2>&1 || /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "run brew doctor..."
which brew >/dev/null 2>&1 && brew doctor
echo "run brew update..."
which brew >/dev/null 2>&1 && brew update
echo "ok. run brew upgrade..."
brew upgrade
formulas=(
asciinema
bat
ctop
dat
exa
ffmpeg
fd
fish
gh
git
gitui
jrnl
mas
mysql
navi
nb
neovim
neofetch
nodebrew
nnn
pandoc
procs
poppler
pstree
sampler
sd
sqlite
starship
taskell
thefuck
tldr
tmux
tmuxinator
tree
warp
yarn
)
echo "brew tap"
# brew tap thirdparty
brew tap homebrew/cask-fonts
echo "brew install formula"
for formula in "${formulas[@]}"; do
brew install $formula || brew upgrade $formula
done
# install gui up
casks=(
atom
alfred
alacritty
appcleaner
biscuit
bitwarden
boostnote
cacher
cheatsheet
dash
deepl
discord
docker
drawio
dropbox
font-hack-nerd-font
gitkraken
grammarly
google-backup-and-sync
gyazo
hyperswitch
inkscape
iterm2
julia
jetbrains-toolbox
kap
karabiner-elements
keycastr
mamp
notion
obs
papers
r
rectangle
skitch
skype
slack
spotify
steam
tickeys
visual-studio
visual-studio-code
vrew
vlc
xmind
zoom
)
echo "brew casks"
for cask in "${casks[@]}"; do
brew install --cask $cask
done
stores=(
497799835
539883307
937984704
975890633
1144071713
1295203466
1423210932
1429033973
1450950860
1483764819
)
echo "app stores"
for store in "${stores[@]}"; do
mas install $store
done
brew cleanup
echo "brew installed"