Skip to content

Instantly share code, notes, and snippets.

@chicoxyzzy
Forked from svnlto/install.md
Last active September 1, 2015 09:05
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chicoxyzzy/ea9cb7f42b407903b0d7 to your computer and use it in GitHub Desktop.
Save chicoxyzzy/ea9cb7f42b407903b0d7 to your computer and use it in GitHub Desktop.

Setup new Mac from scratch

Install latest Xcode

The download/install takes a while so start it first. When it finishes downloading you will still need to run it to complete installation.

Really the nicest choice for a terminal on OSX right now.

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

Note that Xcode is a pre-req for Homebrew

Install recent ZSH via Homebrew

brew install zsh
sudo vim /etc/shells

The resulting /etc/shells file should look like this:

/bin/bash
/bin/csh
/bin/sh
/bin/tcsh
/bin/zsh
/usr/local/bin/zsh

Install oh-my-zsh

curl -L http://install.ohmyz.sh | sh

restart iTerm2

Setup Quake-like terminal window for iTerm2

and make iTerm2 launch without opening any window

@ggarek
Copy link

ggarek commented Sep 1, 2015

Thanks for the guide! I want to share a thing though, after step 'Install recent ZSH via Homebrew' i got this in my /etc/shells:

➜  ~  cat /etc/shells
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/bash
/bin/csh
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment