-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrew.sh
36 lines (27 loc) · 826 Bytes
/
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
#!/usr/bin/env bash
set -eu
# Check for Homebrew,
# Install if needed
if test ! $(which brew); then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# update brew packages
brew update
brew upgrade --all
# Install GNU core utilities (those that come with OS X are outdated)
brew install coreutils
brew install bash-completion
# Install some other useful utilities like `sponge`.
brew install moreutils
# Install GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
brew install findutils
brew install bash-completion
# Install `wget` with IRI support.
brew install wget --with-iri
brew install lynx
brew install nmap
brew install rename
brew install ssh-copy-id
brew install tree
# Remove outdated versions from the cellar.brew cleanup