Hacking Gate

ERU

To dream and to build, To fail and to succeed.


Setting up a new Mac OS X

1. Install Xcode

Download the latest stable version from App Store
Or view a full list available downloads from Apple Developer

1.1 Install Command Line Tools

xcode-select --install

1.2 Install Homebrew

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

1.3 Install Brew Cask

brew install caskroom/cask/brew-cask

Many software can be installed from brew & brew cask, if you are not sure, you can use brew search.

brew search chrome

Copy one of the search result you want to install, type brew install then paste.

brew install Caskroom/cask/google-chrome

2. Setup a beautiful Terminal

2.1 Install iTerm2

brew install Caskroom/cask/iterm2

2.2 Install oh-my-zsh

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

3. Install Ruby

OS X has built-in ruby, but I recommend you install the latest version.
Official documentation recommend use Homebrew, it's really easy:

brew install ruby

Or you can use RVM to install Ruby, if you familiar with it.

4. Install Java

brew install Caskroom/cask/java
comments powered by Disqus