-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup_mac.sh
executable file
·95 lines (75 loc) · 2.47 KB
/
setup_mac.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
#!/bin/bash
#
# Homebrew
#
# This installs some of the common dependencies needed (or at least desired)
# using Homebrew.
# Check for Homebrew
if test ! $(which brew)
then
echo " Installing Homebrew for you."
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
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 OS X are outdated)
brew install coreutils
# Install GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
brew install findutils
# Install Bash 4
brew install bash
brew install zsh
brew install zplug
# Install wget with IRI support
brew install wget
brew install curl
# Install GNU `sed`, overwriting the built-in `sed`.
brew install gnu-sed
brew install grep
# Install more recent versions of some OS X tools
# Pure
brew install pure
# Install everything else
# brew install openssl
# brew install ack
# brew install git git-extras hub git-ftp git-crypt
# brew install rename htop-osx tree ngrep mtr nmap
brew install zoxide
# brew install legit # http://www.git-legit.org/
# brew install Zopfli # https://code.google.com/p/zopfli/
brew install fortune cowsay
# brew tap heroku/brew && brew install heroku
# brew install node
# brew install ngrok # https://ngrok.com/
# brew install sshrc # https://github.com/Russell91/sshrc
# brew install storm # https://github.com/emre/storm
# brew install pup # https://github.com/EricChiang/pup
brew install httpie # https://github.com/jakubroztocil/httpie
brew install jq # https://stedolan.github.io/jq/
brew install git-town # https://www.git-town.com/introduction
# brew install python3
# brew install editorconfig
# brew install ssh-copy-id # http://linux.die.net/man/1/ssh-copy-id
brew install eza
function installcask() {
brew install "${@}" --cask
}
# installcask utorrent
installcask iterm2
installcask karabiner-elements
installcask qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv betterzipql webp-quicklook suspicious-package && qlmanage -r
# https://github.com/ivandokov/phockup
brew tap ivandokov/homebrew-contrib
brew install phockup
# Postgres Database
brew install postgres postgis
# Fonts
brew tap caskroom/fonts
brew cask install font-source-code-pro
sudo easy_install pip
sudo pip install -r requirements.pip
# Remove outdated versions from the cellar
brew cleanup && brew cask cleanup
exit 0