-
Notifications
You must be signed in to change notification settings - Fork 0
/
brew.sh
executable file
·162 lines (149 loc) · 4.41 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
#!/usr/bin/env bash
# Install command-line tools using Homebrew.
# Add tab completion for many Bash commands
if ! which brew &> /dev/null; then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)";
brew tap caskroom/cask;
brew tap caskroom/fonts;
fi;
# Make sure we’re using the latest Homebrew.
brew update
# Upgrade any already-installed formulae.
brew upgrade
# Install GNU core utilities (those that come with macOS are outdated).
# Don’t forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
brew install coreutils
# Install GNU `find`, `locate`, `updatedb`, and `xargs`, `g`-prefixed.
brew install findutils
# Install GNU `sed`, overwriting the built-in `sed`.
brew install gnu-sed --with-default-names
# Install Bash 4.
brew install bash
brew install bash-completion2
# Switch to using brew-installed bash as default shell
if ! fgrep -q '/usr/local/bin/bash' /etc/shells; then
# Add `/usr/local/bin/bash` to `/etc/shells` before calling chsh.
echo '/usr/local/bin/bash' | sudo tee -a /etc/shells;
chsh -s /usr/local/bin/bash;
fi;
# Symlink Docker bash-completion files if they are installed.
for dockerfile in /Applications/Docker.app/Contents/Resources/etc/{docker.bash-completion,docker-machine.bash-completion,docker-compose.bash-completion}; do
if [ -f $dockerfile ]; then
ln -s $dockerfile $(brew --prefix)/etc/bash_completion.d;
fi
done;
unset dockerfile;
# Install `wget` with IRI support.
brew install wget --with-iri
# Install GnuPG to enable PGP-signing commits.
#brew install gnupg
# Install more recent versions of some macOS tools.
brew install vim --with-override-system-vi
brew install grep
brew install openssh
brew install screen
# Install other useful binaries.
brew install ack
brew install aircrack-ng
brew install dns2tcp
brew install dos2unix
brew install freetype
brew install git
brew install git-lfs
brew install go
brew install hugo
brew install imagemagick --with-webp
brew install mongoose
brew install netcat
brew install nmap
brew install p7zip
brew install pandoc
brew install pngcheck
brew install rename
brew install s3cmd
brew install socat
brew install ssh-copy-id
brew install tcpflow
brew install tcpreplay
brew install tcptrace
brew install tmux
brew install tor
brew install tree
brew install unison
brew install vbindiff
brew install xz
brew install z
brew install zopfli
# Install Caskroom applications.
brew cask install 1password
brew cask install adium
brew cask install astropad
brew cask install bartender
brew cask install boom-3d
brew cask install cheatsheet
brew cask install cocktail
brew cask install daisydisk
brew cask install dash
brew cask install default-folder-x
brew cask install devonthink-pro-office
brew cask install docker
brew cask install dropbox
brew cask install duet
brew cask install etrecheck
brew cask install fantastical
brew cask install firefox
brew cask install flux
brew cask install foldingtext
brew cask install gas-mask
brew cask install grammarly
brew cask install hazel
brew cask install houdahspot
brew cask install intel-power-gadget
brew cask install istat-menus
brew cask install kaleidoscope
brew cask install kap
brew cask install keybase
brew cask install kodi
brew cask install launchbar
brew cask install licecap
brew cask install lingon-x
brew cask install little-snitch
brew cask install mailmate
brew cask install microsoft-office
brew cask install moom
brew cask install mountain
brew cask install netspot
brew cask install nvalt
brew cask install omnifocus
brew cask install omnigraffle
brew cask install omnioutliner
brew cask install parallels-desktop
brew cask install paw
brew cask install pdfexpert
brew cask install prizmo
brew cask install pycharm-ce
brew cask install scapple
brew cask install scrivener
brew cask install serial
brew cask install skype
brew cask install slack
brew cask install steveschow-gfxcardstatus
brew cask install sublime-text
brew cask install superduper
brew cask install teamviewer
brew cask install vagrant
brew cask install viscosity
brew cask install vlc
brew cask install vmware-horizon-client
brew cask install vmware-remote-console
brew cask install wireshark
brew cask install xca
# Install Caskroom fonts.
brew cask install font-exo
brew cask install font-roboto
brew cask install font-roboto-condensed
brew cask install font-source-code-pro
brew cask install font-source-sans-pro
# Remove outdated versions from the cellar.
brew cleanup
brew cask cleanup