forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbrew.sh
executable file
·45 lines (36 loc) · 1014 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
40
41
42
43
44
45
#!/usr/bin/env bash
set -e
# 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 Fish.
# Note: don’t forget to add `/brew/bin/bash` to `/etc/shells` before
# running `chsh`.
brew install fish
# Switch to using brew-installed bash as default shell
if ! fgrep -q '/brew/bin/fish' /etc/shells; then
echo '/brew/bin/fish' | sudo tee -a /etc/shells;
chsh -s /brew/bin/fish;
fi;
brew install neovim
brew install git
brew install tree
brew install fzf
brew install ag
brew install heroku
brew install openssl
brew install telnet
brew install wget
brew install fd
brew install rbenv
brew install awscli
brew install postgresql
brew install ccrypt
brew install
# Remove outdated versions from the cellar.
brew cleanup