-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrew.sh
More file actions
executable file
·218 lines (189 loc) · 5.4 KB
/
brew.sh
File metadata and controls
executable file
·218 lines (189 loc) · 5.4 KB
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
#!/usr/bin/env bash
# Simple setup.sh
# for headless setup.
# Install Homebrew
# Install Command Line Tools for Xcode
xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile
function installcask() {
brew cask install "${@}" 2> /dev/null
}
# Install command-line tools using Homebrew.
# 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 some other useful utilities like `sponge`.
brew install moreutils
# 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.
# Note: don’t forget to add `/usr/local/bin/bash` to `/etc/shells` before
# running `chsh`.
brew install bash
brew tap homebrew/versions
brew install bash-completion
brew install findutils
# Switch to using brew-installed bash as default shell
if ! fgrep -q '/usr/local/bin/bash' /etc/shells; then
echo '/usr/local/bin/bash' | sudo tee -a /etc/shells;
chsh -s /usr/local/bin/bash;
fi;
# Install `wget` with IRI support.
brew install wget --with-iri
# Install more recent versions of some macOS tools.
brew install vim --with-override-system-vi
brew install homebrew/dupes/grep
brew install homebrew/dupes/openssh
brew install homebrew/dupes/screen
brew install homebrew/php/php56 --with-gmp
# Install font tools.
brew tap bramstein/webfonttools
brew install sfnt2woff
brew install sfnt2woff-zopfli
brew install woff2
# Install other useful binaries.
brew install rsync
brew install ack
brew install dark-mode
#brew install exiv2
brew install git
brew install git-lfs
brew install imagemagick --with-webp
brew install lua
brew install lynx
brew install p7zip
brew install pigz
brew install pv
brew install rename
brew install rhino
brew install speedtest_cli
brew install ssh-copy-id
brew install testssl
brew install tree
brew install vbindiff
brew install webkit2png
brew install zopfli
brew install node
brew install cpulimit
brew install curl
brew install diff-so-fancy
brew install djview4
brew install djvu2pdf
brew install faac
brew install ffmpeg
npm install -g tldr
npm install -g brb
brew install homebrew/fuse/ntfs-3g
installcask java
installcask docker
installcask dropbox
installcask flux
installcask franz
installcask eloston-chromium
installcask imagealpha
installcask imageoptim
installcask iterm2
installcask itsycal
installcask menumeters
installcask moom
installcask nvalt
installcask osxfuse
installcask pdfsam-basic
installcask soundflower
installcask sourcetree
installcask spectacle
installcask spotify
installcask tomighty
installcask transmission
installcask waterfox
installcask atom
installcask disk-inventory-x
installcask docker
installcask dropbox
installcask flowdock
installcask vagrant
installcask vagrant-bar
installcask vagrant-manager
brew install vagrant-completion
installcask virtualbox
installcask virtualbox-extension-pack
installcask vlc
installcask free-download-manager
installcask skype
installcask zotero
installcask android-file-transfer
installcask postman
installcask appcleaner
installcask gitup
brew install subversion
brew install scala --with-docs --with-src
brew install apache-spark
brew install ansible
brew install gradle
brew install grails
brew install httpie
brew install iproute2mac
brew install jsonschema2pojo
brew install kafka
brew install kafkacat
brew install klibidn
brew install klibksba
brew install klibvo-aacenc
brew install pyenv
brew install python
brew install python3
brew install wxpython
brew install logstash
brew install lua@5.1
brew install lynx
brew install mongodb
brew install nginx
brew install nss
brew install ossp-uuid
brew install p7zip
brew install parallel
brew install pdf2htmlex
brew install pigz
# postgresql
brew install sdl
brew install sqoop
brew install storm
brew install subversion
brew install tesseract
brew install transmission
brew install tre
brew install tree
# brew install typesafe-ectivator
brew install watch
npm install -g tldr
npm install -g aglio
npm install -g hercule
# hacks for scala
# http://scalacookbook.blogspot.fr/2012/09/scala-for-intellij.html
scalaversion="$(brew which scala | sed 's/[^0-9.]*\([0-9.]*\).*/\1/')"
if [ ! -L /usr/local/Cellar/scala/$scalaversion/src ]; then
ln -s /usr/local/Cellar/scala/$scalaversion/libexec/src /usr/local/Cellar/scala/$scalaversion/src
fi
if [ ! -L /usr/local/Cellar/scala/$scalaversion/lib ]; then
ln -s /usr/local/Cellar/scala/$scalaversion/libexec/lib /usr/local/Cellar/scala/$scalaversion/lib
fi
if [ ! -d /usr/local/Cellar/scala/$scalaversion/doc/scala-devel-docs ] ; then
mkdir -p /usr/local/Cellar/scala/$scalaversion/doc/scala-devel-docs
ln -s /usr/local/Cellar/scala/$scalaversion/share/doc/scala /usr/local/Cellar/scala/$scalaversion/doc/scala-devel-docs/api
fi
brew install sbt
brew install maven
#install gvm
curl -s get.gvmtool.net | bash
[[ -s ~/.gvm/bin/gvm-init.sh ]] && source ~/.gvm/bin/gvm-init.sh
#gvm install grails 2.3.5
#gvm install groovy
# Remove outdated versions from the cellar.
brew cleanup