Skip to content

Instantly share code, notes, and snippets.

@BretFisher
Created March 12, 2015 02:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BretFisher/9c9bf55ed602de16118b to your computer and use it in GitHub Desktop.
Save BretFisher/9c9bf55ed602de16118b to your computer and use it in GitHub Desktop.
#!/bin/sh
# install various tools and apps on a fresh Mac
# symlink dotfiles
source dotfiles.sh
# set mac defaults
source osxdefaults.sh
# Apple OS X stuff
# install xcode from App Store
xcode-select --install
# homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# brew utils
brew install gnupg2 # don't need this if we install MacGPG2 tools (email)
brew install gnutls #find, etc.
brew install wget tree p7zip
# brew developer
brew install git gist
brew install hub #hub wraper for git need: alias git=hub
brew install macvim --override-system-vim --with-lua --with-luajit
brew install mongoose #command line web server
brew install ag #superset of ack: alias ack=ag
brew install cloc #lines of code
brew install duck #ftp for the cloud
brew install n
sudo n stable #(does this work?)
# npm utilities (requires sudo)
sudo npm install -g azure-cli yo xml2json smartdc resume-cli nodemon node-gyp keybase jshint
sudo npm install -g grunt-cli http-server hubot generator-hubot csslint coffee-script
sudo easy_install Pygments #used later for shell colors in source files
# oh my zsh
# this will change your login shell to zsh. if you want to use brew zsh
# run this first
# brew install zsh
# echo "/usr/local/bin/zsh" | sudo tee -a /etc/shells
# chsh -s /usr/local/bin/zsh
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
# brew cask
brew install cask
# brew casek apps
brew cask install vagrant # need parallels add-on
brew cask install iterm2 # set to load preferences from dotfiles
brew cask install skype airfoil flux firefox google-chrome atom spotify alfred
brew cask install appzapper
# go 256 color in bash/zsh, requires iterm
# https://github.com/chriskempson/base16-shell
# TODO: if this exists, update git
git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell
# TODO: need to add lines to .zshrc
brew install tmux
# install some fonts for better coding
brew tap caskroom/fonts
brew cask install font-ubuntu
brew cask install font-source-code-pro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment