Last active
September 1, 2017 18:39
-
-
Save Keoven/146223e311eba4cfd22d0a23dfc35122 to your computer and use it in GitHub Desktop.
Setup a Mac for Development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mac Setup | |
# | |
# Used on the following computer: | |
# MacBook Pro 2017 | |
# | |
# Run this script by doing the command below: | |
# | |
# > curl https://gist.githubusercontent.com/<path_to_gist>/mac_setup.sh | sh | |
# | |
# Install Brew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Setup Environment | |
brew cask install iterm2 | |
brew tap caskroom/fonts | |
brew cask install font-fira-code font-fira-mono font-fira-mono-for-powerline font-fira-sans | |
brew install tmux | |
brew install zsh zsh-completions | |
brew install vim | |
brew install the_silver_searcher | |
# Setup Databases | |
brew install postgres | |
brew install redis | |
# Setup Language Environments | |
brew install nvm | |
brew install pyenv | |
brew install pyenv-virtualenv | |
brew install pyenv-virtualenvwrapper | |
# Setup dot files | |
cd ~ | |
git clone --no-checkout git://github.com/Keoven/dotfiles.git dotfiles.tmp | |
mv dotfiles.tmp/.git . | |
git reset --hard HEAD | |
rm -rf dotfiles.tmp/ | |
# Install Oh-My-ZSh | |
cd ~ | |
rm -rf .oh-my-zsh | |
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh | |
git checkout . | |
# Setup Prompt | |
nvm install v6.11.2 | |
vm alias default v6.11.2 | |
npm install --global pure-prompt | |
# Install Janus | |
curl -Lo- https://bit.ly/janus-bootstrap | bash | |
rm -rf .vim.old | |
# Janus Plugins | |
mkdir .janus | |
cd .janus | |
git clone git@github.com:editorconfig/editorconfig-vim.git | |
git clone git@github.com:wavded/vim-stylus.git | |
cd ~ | |
# Setup Powerline | |
sudo easy_install pip | |
pip install --user powerline-status | |
chsh -s /usr/local/bin/zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment