Skip to content

Instantly share code, notes, and snippets.

@tayvano
Created May 2, 2017 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tayvano/487ba1478c581acef1921152b4d5466e to your computer and use it in GitHub Desktop.
Save tayvano/487ba1478c581acef1921152b4d5466e to your computer and use it in GitHub Desktop.
#!/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 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 some other useful utilities like `sponge`.
brew install moreutils
#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 Bash 4.
#Note: don’t forget to add `/usr/local/bin/bash` to `/etc/shells` before
#running `chsh`.
brew install bash
brew install bash-completion2
#Switch to using brew-installed bash as default shell
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;
#Tap the things first
brew tap homebrew/versions
brew tap homebrew/bundle
brew tap homebrew/core
brew tap caskroom/cask
brew tap bramstein/webfonttools
#ethereum
#brew tap ethereum/ethereum
#brew tap golemfactory/golem
#brew tap golemfactory/hyperg
#Install more recent versions of some macOS tools.
brew install homebrew/dupes/grep
brew install homebrew/dupes/openssh
brew install homebrew/dupes/screen
brew install homebrew/php/php56 --with-gmp
brew install wget --with-iri
brew install vim --with-override-system-vi
#Install Casks
brew cask install adobe-acrobat
brew cask install adobe-illustrator-cc
brew cask install adobe-media-encoder-cc
brew cask install adobe-photoshop-cc
brew cask install alfred
brew cask install alternote
#brew cask install ampps
brew cask install appcleaner
#brew cask install bettertouchtool
brew cask install betterzipql
brew cask install caffeine
#brew cask install cheatsheet
brew cask install cyberduck
brew cask install day-o
#brew cask install disk-inventory-x
#brew cask install docker
brew cask install dropbox
brew cask install fantastical
brew cask install filezilla
brew cask install firefox
#brew cask install flux
brew cask install fontprep
brew cask install franz
brew cask install gitter
brew cask install google-drive
brew cask install harvest
brew cask install imageoptim
brew cask install iterm2
brew cask install keybase
brew cask install lastpass
brew cask install mamp
brew cask install nwjs
brew cask install pdf-images
brew cask install qlcolorcode # quicklook
brew cask install qlimagesize # quicklook
brew cask install qlmarkdown # quicklook
brew cask install qlstephen # quicklook
brew cask install qlvideo # quicklook
brew cask install quicklook-csv # quicklook
brew cask install quicklook-json # quicklook
brew cask install sketch
brew cask install sketch-toolbox
brew cask install skype
brew cask install slack
brew cask install sourcetree
brew cask install spectacle
brew cask install spotify
brew cask install sublime-text
#brew cask install utorrent
#brew cask install vagrant
brew cask install vlc
#regular installs
brew install ack # Install other useful binaries.
#brew install aircrack-ng # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install android-platform-tools
brew install asciidoc
brew install autoconf
brew install automake
#brew install bfg # Install some CTF tools; see https://github.com/ctfs/write-ups.
#brew install binutils # Install some CTF tools; see https://github.com/ctfs/write-ups.
#brew install binwalk # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install boost
brew install cairo
#brew install cifer # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install dark-mode # Install other useful binaries.
#brew install dex2jar # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install dirmngr
#brew install dns2tcp # Install some CTF tools; see https://github.com/ctfs/write-ups.
#brew install docbook
#brew install ethcore/ethcore/parity, args: ['master']
#brew install ethereum/ethereum/ethereum, args: ['devel']
brew install exiv2 # Install other useful binaries.
#brew install fcrackzip # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install fdk-aac
brew install fontconfig
#brew install foremost # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install freetype
brew install fribidi
brew install gettext
brew install ghostscript
brew install git # Install other useful binaries.
brew install git-lfs # Install other useful binaries.
brew install glib
brew install gnupg
brew install go
brew install gobject-introspection
brew install gpg-agent
brew install harfbuzz
#brew install hashpump # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install highlight
#brew install hydra # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install icu4c
brew install imagemagick --with-webp # Install other useful binaries.
#brew install john # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install jpeg
#brew install knock # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install lame
brew install lastpass-cli, args: ['with-pinentry']
brew install libass
brew install libassuan
brew install libffi
brew install libksba
brew install libogg
brew install libpng
brew install libtool
brew install libusb
brew install libusb-compat
brew install libvorbis
brew install libvpx
brew install lua # Install other useful binaries.
brew install lynx # Install other useful binaries.
brew install mas
#brew install netpbm # Install some CTF tools; see https://github.com/ctfs/write-ups.
#brew install nmap # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install openssl
brew install opus
brew install p7zip # Install other useful binaries.
brew install pigz # Install other useful binaries.
brew install pixman
#brew install pngcheck # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install pth
brew install pv # Install other useful binaries.
brew install rename # Install other useful binaries.
brew install rhino # Install other useful binaries.
brew install sdl
brew install sdl2
brew install sfnt2woff # Install font tools.
brew install sfnt2woff-zopfli # Install font tools.
brew install shtool
#brew install socat # Install some CTF tools; see https://github.com/ctfs/write-ups.
#brew install speedtest_cli # Install other useful binaries.
#brew install sqlmap # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install ssh-copy-id # Install other useful binaries.
#brew install tcpflow # Install some CTF tools; see https://github.com/ctfs/write-ups.
#brew install tcpreplay # Install some CTF tools; see https://github.com/ctfs/write-ups.
#brew install tcptrace # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install testssl # Install other useful binaries.
brew install texi2html
brew install theora
brew install tree # Install other useful binaries.
#brew install ucspi-tcp # `tcpserver` etc. # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install vbindiff # Install other useful binaries.
brew install webkit2png # Install other useful binaries.
brew install woff2 # Install font tools.
brew install x264
#brew install x265
#brew install xpdf # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install xvid
#brew install xz # Install some CTF tools; see https://github.com/ctfs/write-ups.
brew install yasm
brew install youtube-dl
brew install zopfli # Install other useful binaries.
#Install from Mac Store
mas 'Airmail 3', id: 918858936
mas 'DrCleaner', id: 921458519
mas 'Keynote', id: 409183694
mas 'LastPass', id: 926036361
mas 'Pages', id: 409201541
mas 'Slack', id: 803453959
mas 'The Unarchiver', id: 425424353
mas 'Xcode', id: 497799835
#Remove outdated versions from the cellar.
brew update
brew upgrade
brew prune
brew cleanup
brew cask cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment