-
Notifications
You must be signed in to change notification settings - Fork 1
/
brew.sh
executable file
·150 lines (129 loc) · 3.7 KB
/
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
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
#!/usr/bin/env bash
# Install command-line tools using Homebrew.
# Make sure we’re using the latest Homebrew.
brew update
# Upgrade any already-installed programs
~/bin/update.sh
# Save Homebrew’s installed location.
BREW_PREFIX=$(brew --prefix)
# Install GNU core utilities (those that come with macOS are outdated).
# Don’t forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
export PATH="$(brew --prefix coreutils)/libexec/gnubin:$PATH"
brew install coreutils
# Install GnuPG to enable PGP-signing commits.
#brew install gnupg
# Install gnu tools
brew install grep
brew install bash
brew install zsh
brew install awk
brew install gawk
brew install make
brew install cmake
brew install diffutils
brew install gnu-tar
brew install gnu-time
brew install gnu-which
# Install programming tools
brew install check
brew install llvm
brew install clang-format
#Languages
#Warning: Make sure you don't have these installed by other means
brew install python3
brew install node
brew install perl
brew install php
brew install lua
brew cask install java
# 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 a modern version of zsh
brew install zsh
brew install bash-completion2
brew install zsh-completions
brew install zsh-lovers
brew install zsh-syntax-highlighting
# Switch to using brew-installed zsh as default shell
if ! fgrep -q "${BREW_PREFIX}/bin/zsh" /etc/shells; then
echo "${BREW_PREFIX}/bin/zsh" | sudo tee -a /etc/shells;
chsh -s "${BREW_PREFIX}/bin/zsh";
fi;
# Install some other useful utilities like `sponge`.
brew install moreutils
# Install `wget` with IRI support.
brew install wget --with-iri
brew install curl
# Install more recent versions of some macOS tools.
#make sure you don't have small vim installed
brew uninstall vim
brew install macvim --with-override-system-vi
brew install neovim --HEAD
brew install openssh
brew install tmux
brew install gmp
# Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install binutils
brew install nmap
brew install xz
# Install other useful binaries.
brew install ack
brew install git
brew install git-lfs
brew install imagemagick --with-webp
brew install lynx
brew install pv
brew install rename
brew install ssh-copy-id
brew install rsync
brew install tree
brew install dos2unix
brew install htop
# Do less
brew install less
# fun stuff
brew install fzf
brew install ripgrep
brew install lolcat
#Install Casks
brew cask install anaconda
brew cask install authy
brew cask install bettertouchtool
brew cask install discord
brew cask install docker
brew cask install firefox-developer-edition
brew cask install firefox-esr
#brew cask install font-hack-nerd-font
#brew cask install geekbench
#brew cask install gimp
brew cask install google-chrome-beta
#brew cask install hex-fiend
#brew cask install impactor
brew cask install intel-power-gadget
brew cask install iterm2-nightly
brew cask install jetbrains-toolbox
brew cask install karabiner-elements
brew cask install macvim
brew cask install microsoft-edge-dev
brew cask install obs
brew cask install osxfuse
brew cask install powershell
brew cask install setapp
brew cask install slack-beta
brew cask install sourcetree
brew cask install spotify
brew cask install stellarium
brew cask install visual-studio-code-insiders
brew cask install vlc
brew cask install wireshark
brew cask install xquartz
#Redundant because I install the following through setapp:
#brew cask install bartender
#brew cask install istat-menus
#brew cask install wifi-explorer
#brew cask install cleanmymac
#brew cask install datagrip
# Remove outdated versions from the cellar.
brew cleanup