-
Notifications
You must be signed in to change notification settings - Fork 1
/
cask.sh
executable file
·295 lines (269 loc) · 9.47 KB
/
cask.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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
#!/usr/bin/env bash
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Install Command-Line Tools Using Homebrew
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Make Sure We’re Using The Latest Homebrew
brew update
# Upgrade Any Already-Installed Formulae
brew upgrade
# Save Homebrew’s Installed Location
BREW_PREFIX=$(brew --prefix)
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Tap Additional Homebrew Repositories
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
brew_tap_list=(
homebrew/cask-versions # Required to install
homebrew/cask-fonts # Required to install
homebrew/cask-drivers # Required to install Homebrew drivers defined in `drivers.sh`
mongodb/brew # Required to install
brew tap jakehilborn/jakehilborn # Required to install `displayplacer`
)
for tap in "${brew_tap_list[@]}"
do
brew tap "${tap}"
done
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Install Core Casks
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
core_cask_list=(
#java # OpenJDK Binaries
#xquartz # Allow Cross-Platform Applications Using X11 To Run On macOS
)
for core_cask in "${core_cask_list[@]}"
do
brew install --cask "${core_cask}"
done
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Install Browser Casks
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
browser_cask_list=(
brave-browser
brave-browser-dev
firefox
firefox-developer-edition
google-chrome
google-chrome-canary
microsoft-edge
#opera
#opera-developer
#opera-neon
safari-technology-preview
tor-browser
#vivaldi
)
for browser in "${browser_cask_list[@]}"
do
brew install --cask "${browser}"
done
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Install Code Editors
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
code_editor_cask_list=(
sublime-text
visual-studio-code-insiders
)
for editor in "${code_editor_cask_list[@]}"
do
brew install --cask "${editor}"
done
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Install Development Casks
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
development_cask_list=(
docker # Containerization Platform
#google-cloud-sdk # CLI Tools For Google Cloud Engine
gpg-suite # GPG-Encryption For Emails & Files
hyper # Terminal Emulator
#insomnia # Desktop API Client For REST & GraphQL
#insomnia-designer # Collaborative API Design Tool For Designing & Managing OpenAPI Specs
iterm2 # Terminal Emulator
kitematic # Run Containers Through A Simple, Yet Powerful GUI
#macdown # Open Source Markdown Editor For macOS
postman # Collaboration Platform For API Development
sequel-pro # Desktop GUI For Interacting With MySQL Databases
sourcetree # Desktop GUI For Git
vagrant # Tool For Building & Managing Virtual Machine Environments
vagrant-manager # Manage Your Vagrant Machines In One Place
virtualbox # Virtualization Product For Running Virtual Machines
)
for dev_cask in "${development_cask_list[@]}"
do
brew install --cask "${dev_cask}"
done
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Install Miscellanous Casks
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
misc_cask_list=(
#1password # Password, Software License, Identity & Other Secure Data Manager
alfred # macOS Automation & Shortcut Utility
authy # 2FA Client & Backup
bartender # Manage The macOS Menu Bar
#bitbar # Put Anything In Your macOS Menu Bar
#box-drive # Box.com Cloud Storage & Collaboration Platform
#browserstacklocal # Test Your localhost Or Any Internal Server In Your Network
#caffeine # Prevent Your Mac From Automatically Going To Sleep
calibre # E-Book Management
#cloudapp # Record Video, Webcam, Gifs, Capture Your Screen And Share It Instantly To The Cloud
#dash # Docuementation Manager
discord # Communicate Over Voice, Video, And Text
displayplacer # Command Line Utility To Configure Multi-Display Resolutions & Arrangements. Essentially XRandR For macOS.
dropbox # Cloud Storage & Collaboration Platform
#duet # Turn Your iOS Or Android Device Into A High Performance Second Display For Your Mac & PC
#evernote # Save, Sync & Share Everything
#flickr-uploadr # Flickr Desktop Uploader
#gimp # Free & Open Source Image Editor
hammerspoon # Automation Utility For macOS
handbrake # Open-Source Video Transcoder
imageoptim # Lossless Image Compressor
#inkscape # Vector Graphics Editor
istat-menus # Display Stats In Your macOS Menu Bar
#licecap # Simple Animated Screen Captures
#keybase # End-To-End Encryption For Things That Matter
megasync # Automated Synchronisation Between Your Computer And Your Mega Cloud
#mou # Markdown Editor
nucleo # Collect, Customize & Export All Your Icons
nordvpn # VPN Client For NordVPN
philips-hue-sync # Highlight & Amplify Your In-Game Actions With Your Philip's Hue Smart Lights.
plex-media-player # A Client-Server Media Player
#plex-media-server # Organize & Store Your Media Library For Playback With Plex Media Clients
prince # Convert HTML to PDF
sketch # Vector Graphics Editor For Macos
sketchpacks # Sketch Plugin Manager
slack # Communication & Sharing Platform For Individuals, Teams & Organizations
snagit # Capture, Record & Share Video, Webcam, Gifs, Screenshots & More
spotify # Desktop Player For The Online Digital Music Service
#screenflow # Video Editing & Screen Recording
synergy # Share Keyboard/Mouse Between Computers
transmission # Cross-Platform BitTorrent Client
vlc # Open-Source Portable Cross-Platform Media Player
#webtorrent # Streaming Torrent Client
zeplin # Share, Organize & Collaborate On UI/UX Designs
)
for misc_cask in "${misc_cask_list[@]}"
do
brew install --cask "${misc_cask}"
done
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Install Quick Look Plugins
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
ql_plugins_list=(
qlcolorcode # Preview source code files with syntax highlighting
qlImageSize # Display image size and resolution
qlmarkdown # Preview Markdown files
qlprettypatch #
qlstephen # Preview plain text files without a file extension ( e.g. README, CHANGELOG, index.styl, etc. )
qlvideo # Preview most types of video files, as well as their thumbnails, cover art and metadata
quicklook-csv #
quicklook-json # Preview JSON files
suspicious-package # Preview the contents of a standard Apple installer package
webpquicklook # Preview WebP images ( Note: this is included in `qlImageSize`, use this if you don't like qlImageSize )
#BetterZipQL # Preview archives ( Note: The BetterZipQL plugin was integrated with the BetterZip app )
quicklookase # Preview Adobe ASE Color Swatches generated with Adobe products ( e.g. Photoshop, Illustrator, Color CC, etc. )
ProvisionQL # Preview iOS / macOS app and provision information
quicklookapk #
)
for ql_plugin in "${ql_plugins_list[@]}"
do
brew install --cask "${ql_plugin}" && qlmanage -r
done
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Install Fonts
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
font_cask_list=(
jetbrains-mono
noto-sans
open-sans
raleway
roboto
roboto-condensed
roboto-slab
)
for font in "${font_cask_list[@]}"
do
brew install --cask "font-${font}"
done
# Nerd Fonts
nerd_font_cask_list=(
3270
agave
anonymice
arimo
aurulent-sans-mono
bigblue-terminal
bitstream-vera-sans-mono
blex-mono
caskaydia-cove
code-new-roman
cousine
daddy-time-mono
dejavu-sans-mono
droid-sans-mono
fantasque-sans-mono
fira-code
fira-mono
go-mono
gohufont
hack
hackgen-nerd
hasklug
heavy-data
hurmit
im-writing
inconsolata-go
inconsolata-lgc
inconsolata
iosevka
jetbrains-mono
lekton
liberation
meslo-lg
monofur
monoid
mononoki
mplus
noto
open-dyslexic
overpass
profont
proggy-clean-tt
roboto-mono
sauce-code-pro
shure-tech-mono
space-mono
terminess-ttf
tinos
ubuntu-mono
ubuntu
victor-mono
)
# Search & Install All Available Nerd Fonts ( 50+ )
#brew install --cask "$( brew search font | grep nerd | tr '\n' ' ' )"
for nerd_font in "${nerd_font_cask_list[@]}"
do
brew install --cask "font-${nerd_font}"
done
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Cleanup
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Remove Outdated Versions From The Cellar
brew cleanup