Skip to content

Instantly share code, notes, and snippets.

@bipinu
Last active June 25, 2017 22:30
Show Gist options
  • Save bipinu/e3601dc3d19af2e94c10 to your computer and use it in GitHub Desktop.
Save bipinu/e3601dc3d19af2e94c10 to your computer and use it in GitHub Desktop.
OS X setup for work
xcode-select --install
curl -L http://install.ohmyz.sh | sh
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
chmod +x /usr/local/bin/composer
# Install node before following; prefer the installer package from https://nodejs.org/download/
# Alternately, install using brew
# brew install node
sudo npm -g install bower
sudo npm -g install gulp
sudo npm -g install n
sudo npm -g install yarn
sudo easy_install pip
sudo pip install fabric requests dnsyo
brew install mongodb
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
brew install redis
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
brew install mysql
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment