forked from diegorusso/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbrew.sh
executable file
·39 lines (29 loc) · 900 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
37
38
39
#!/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
# Install Bash 4.
brew install bash
brew install bash-completion
# Switch to using brew-installed bash as default shell
# Note: don’t forget to add `/usr/local/bin/bash` to `/etc/shells` before
# running `chsh`.
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 screen
brew install tmux
brew install python
brew install htop
brew install git
brew install git-lfs
brew install keychain
# Remove outdated versions from the cellar.
brew cleanup