Skip to content

Instantly share code, notes, and snippets.

@emartini
Created October 26, 2017 02:25
Show Gist options
  • Save emartini/63289e863498062701d423de99e68cfe to your computer and use it in GitHub Desktop.
Save emartini/63289e863498062701d423de99e68cfe to your computer and use it in GitHub Desktop.
New MacOs installation
xcode-select --install
# brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install zsh zsh-completions zsh-syntax-highlighting
chsh -s /bin/zsh
echo "fpath=(/usr/local/share/zsh-completions $fpath)" >> ~/.zshrc
echo "source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc
# Node Version Manager
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash
source ~/.zshrc
nvm install --lts=boron
nvm alias default lts/boron
# Yarn
brew install yarn --without-node
# Pure (zsh prompt)
npm install --global pure-prompt
echo "# Pure, ZSH prompt" >> ~/.zshrc
echo "autoload -U promptinit; promptinit" >> ~/.zshrc
echo "prompt pure" >> ~/.zshrc
source ~/.zshrc
# iTerm2
# https://github.com/sindresorhus/iterm2-snazzy
# command line apps
brew install imagemagick tree
# others
echo "export CLICOLOR=1" >> ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment