-
Notifications
You must be signed in to change notification settings - Fork 2
/
brew-install.sh
76 lines (65 loc) · 1.63 KB
/
brew-install.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
#!/bin/sh
# Homebrew shell script (with various casks)
# ------------------------------------------------------------------------
# Ideas stolen from these talented people:
# http://robots.thoughtbot.com/brewfile-a-gemfile-but-for-homebrew
# http://mattstauffer.co/blog/setting-up-a-new-os-x-development-machine-part-2-global-package-managers
# https://gist.github.com/yosukehiyoshi/fa070e3b2d581bee9903
# https://raw.githubusercontent.com/ChristopherA/dotfiles/master/install/brewfile-basic.sh
# https://github.com/kylegordy/Brew-Install-Script
# The "Brewfile" way of doing this got deprecated, but it looks like this can be run as a shell script with minor changes.
# Usage: $ chmod +x brew-install.sh
# $ ./brew-install.sh
# Install Homebrew (https://brew.sh) before running this
# Make sure things are current and fix any issues
brew update
brew doctor
binaries=(
asdf
coreutils # for asdf nodejs plugin
gpg # for asdf nodejs plugin
libdvdcss # for digitizing my dvds
pandoc
imagemagick
php
git
)
# Install Binaries
echo "installing binaries..."
brew install ${binaries[@]}
# Clean up caches
brew cleanup
# Install Casks
#--------------------------------
# Apps
apps=(
1password
1password-cli
discord
figma
firefox
google-chrome
handbrake
hyperbackupexplorer
microsoft-teams
microsoft-teams
mullvad-browser
mullvadvpn
muzzle
notion
opera
pdf-expert
pika
readdle-spark
rightfont
transmit
tuple
visual-studio-code
zoom
)
# Install apps to /Applications
# Default is: /Users/$user/Applications
echo "installing apps..."
brew install --cask --appdir="/Applications" ${apps[@]}
# Clean up caches, symlinks
brew cleanup