Skip to content

Instantly share code, notes, and snippets.

@johndpope
Forked from johndpope-karhoo/karhoo_setup.sh
Created September 9, 2017 23:59
Show Gist options
  • Select an option

  • Save johndpope/baa024f2d9156d5cc698e1b271e22d93 to your computer and use it in GitHub Desktop.

Select an option

Save johndpope/baa024f2d9156d5cc698e1b271e22d93 to your computer and use it in GitHub Desktop.
setup OSX.sh
# chmod +x karhoo_setup.sh
#!/bin/bash
#NODE_VERSION=0.4.7
#NPM_VERSION=1.0.94
# Examples
# https://github.com/donnemartin/dev-setup/blob/master/brew.sh
# https://gist.github.com/phatblat/1713458#file-heroku-node-init-sh
# https://gist.github.com/zenorocha/7159780
# Resources
# https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md
# https://github.com/caskroom/homebrew-cask
#
# Check if Homebrew is installed
#
which -s brew
if [[ $? != 0 ]] ; then
# Install Homebrew
# https://github.com/mxcl/homebrew/wiki/installation
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
else
brew update
fi
#
# Check if Git is installed
#
which -s git || brew install git
xcode-select --install
brew cask
brew cask install google-chrome
brew cask install iterm2
brew cask install sourcetree
brew cask install macdown
brew cask install github-desktop
brew cask install vlc
brew cask install alfred
brew cask install dash
brew cask install skype
#brew cask install microsoft-office
# brew cask install pycharm-ce
brew cask install jiggler
brew cask install xquartz
brew cask install slack
brew cask alfred link
brew cask cleanup
brew install wget
brew install python3
brew install python
brew install postgresql --with-python
brew install mariadb
brew install mongodb
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
brew install chromedriver
brew install chrome-cli
brew install youtube-dl
brew install ffmpeg
#RVM
curl -sSL https://get.rvm.io | bash
#ZSH
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# TODO - Add creation of SSH key.
echo "Please enter email "
read email
ssh-keygen -t rsa -b 4096 -C $email
ssh-add ~/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment