How I like to setup my Mac

John Bradshaw
John Bradshaw
Published in
2 min readJun 26, 2018

--

Moved to -> https://bradshaw.cloud/2018/06/26/how-i-like-to-setup-my-mac/

I used to be a diehard Windows for Work and Mac for Home… But, I’ve since changed. I now hate to use anything but a mac, but it can be a bit of a pain to setup.

Install brew

Brew is an easy to use package manager, similar to pip, for Macs.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Now install those missing packages

export HOMEBREW_CASK_OPTS="--appdir=/Applications"
brew tap caskroom/cask
#install cli tools
brew install wget awscli python python@2 terraform packer zsh zsh-completions mas
#install gui apps
brew cask install iterm2 google-chrome firefox sublime-text webex-nbr-player webex-wrf-player github setapp google-drive-file-stream dropbox docker whatsapp slack skype 1password 1password-cli textexpander vlc hazel banktivity kindle alfred little-snitch spotify spotify-notifications skype-for-business
#link alfred
brew cask alfred link
# Remove brew cruft
brew cleanup

# Remove cask cruft
brew cask cleanup
#install app store apps
mas install 1059655371 568494494 639968404 1055511498 1130254674 411643860 975937182 937984704 585829637 441258766 823766827 777233759 1142578772 546392952

Install ohmyzsh

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
chsh -s /bin/zsh
pip install powerline-status
wget https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/Solarized%20Dark%20-%20Patched.itermcolors
wget https://raw.githubusercontent.com/altercation/solarized/master/iterm2-colors-solarized/Solarized%20Light.itermcolors

Open the two files you just downloaded in Finder.

Install krypton

Managing SSH keys is a pain, its even more of a pain when you use multiple machines, and (even more)² of a pain when you need to share EC2 keypairs to login to AWS instances.

curl https://krypt.co/kr | sh

Install okta-awscli

If you use Okta as your SSO provider, you can use their single sign-on process to manager your AWS access keys.

pip install okta-awscli

You must have Python 2.x installed as it doesn’t work with 3.

--

--

John Bradshaw
John Bradshaw

Director of Cloud Computing Technology and Strategy EMEA @akamai