Skip to content

Instantly share code, notes, and snippets.

@amcclosky
Last active February 27, 2016 21:04
Show Gist options
  • Save amcclosky/22bbefcf613c2c365856 to your computer and use it in GitHub Desktop.
Save amcclosky/22bbefcf613c2c365856 to your computer and use it in GitHub Desktop.
Setup a new os x machine for development.

From fresh install to usable machine.

  1. Disable natural scrolling.
defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false
  1. Install Homebrew.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# setup homebrew github auth token
  1. Setup initial .bash_profile.
mkdir -p ~/bin
curl -o ~/bin/fancy_prompt.sh https://gist.githubusercontent.com/amcclosky/c6469db426e27a131745/raw/434638fad290f2269be4bea7c8d4df2515be6e7b/fancy_prompt.sh
curl -o .bash_profile https://gist.githubusercontent.com/amcclosky/0b8b60ab0c3aa80e3e87/raw/1de60ee57eaccda03a66ab8eaa332c77023916f7/.bash_profile
  1. Set hostname.
NEW_NAME="newname"
sudo scutil --set ComputerName "$NEW_NAME"
sudo scutil --set LocalHostName "$NEW_NAME"
sudo scutil --set HostName "$NEW_NAME"
  1. Install development environment software.
brew cask install java
brew cask install intellij-idea
# Install intellij-idea python plugin
brew cask install virutalbox
brew cask install vagrant
brew cask install vagrant-manager
brew cask install sublime-text
  1. Install other utilities
brew cask install spectacle
brew cask install caffeine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment