Skip to content

Instantly share code, notes, and snippets.

@graysonchen
Last active August 1, 2019 08:37
Show Gist options
  • Save graysonchen/3f9d55cdb585e437fa38d8ab630e1397 to your computer and use it in GitHub Desktop.
Save graysonchen/3f9d55cdb585e437fa38d8ab630e1397 to your computer and use it in GitHub Desktop.
Setting up Your Mac
#!/usr/bin/env bash
# Check for Homebrew, install if we don't have it
if test ! $(which brew); then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Update homebrew recipes
# brew update
# Binaries
binaries=(
adns
ffmpeg
icu4c
libtasn1
node
python
tbb
android-platform-tools
fontconfig
ilmbase
libtiff
npth
python3
unar
ansible
freetype
imagemagick@6
libtool
numpy
qrencode
unrar
autoconf
gcc
isl
libunistring
opencv
readline
webp
automake
gd
jpeg
libusb
opencv3
redis
wget
autossh
gdbm
lame
libvorbis
openexr
sdl
x264
awscli
gettext
libassuan
libyaml
openssl
sdl_image
xvid
bcrypt
git
libffi
macvim
[email protected]
sdl_mixer
xz
cmake
git-crypt
libgcrypt
mercurial
p11-kit
sdl_ttf
yarn
coreutils
gmp
libgpg-error
mobile-shell
pinentry
smartmontools
youtube-dl
cscope
gnupg
libksba
mpfr
pkg-config
curl
gnutls
libmpc
mtr
portmidi
dnstracer
go
libogg
namebench
postgresql
sqlite
e2fsprogs
graphviz
libpng
nettle
protobuf
ssh-copy-id
eigen
httping
libsodium
nmap
proxychains-ng
stunnel
zsh
mackup
)
# Install binaries
echo "Installing binaries..."
brew install ${binaries[@]}
# Cleanup
brew cleanup
# Install brew-cask
brew tap caskroom/cask
# Casks
casks=(
unetbootin
visual-studio-code
appcleaner
dash
google-chrome
iterm2
launchcontrol
omnigraffle
sourcetree
sublime-text3
vagrant
virtualbox
dropbox
beardedspice
cyberduck
slack
psequel
leonsoft-kras-transmission-remote-gui
bartender
skype
firefox
istat-menus
sizeup4
coconutbattery
twitter
little-snitch
)
# Install casks to /Applications
echo "Installing casks..."
brew cask install --appdir="/Applications" ${casks[@]}
# # Fonts
# fonts=(
# font-inconsolata
# )
# # Install fonts
# echo "Installing fonts..."
# brew cask install ${fonts[@]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment