Skip to content

Instantly share code, notes, and snippets.

@maltzsama
Created February 2, 2015 15:26
Show Gist options
  • Select an option

  • Save maltzsama/d6ba43a0184150b8d13b to your computer and use it in GitHub Desktop.

Select an option

Save maltzsama/d6ba43a0184150b8d13b to your computer and use it in GitHub Desktop.
Initial configuration of OS X to develop for iOS
#!/bin/sh
#title :config.sh
#description :This script will proced the initial setup of a developer machine
#author :Demetrius Albuquerque
#date :20150202
#version :0.1
#usage : ./config.sh
#notes :chmod +x to run the script
ALL=$1
if [ $ALL ]
then
echo "Install homebrew"
echo "============================"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "End install of homebrew"
echo "============================"
echo "Update of packages from brew"
brew update
brew upgrade
fi
echo "Install oh my zsh"
echo "============================"
brew install zsh
curl -L http://install.ohmyz.sh | sh
echo "End of installation of oh my zsh"
echo "============================"
echo "Install rbenv"
echo "============================"
brew install rbenv ruby-build
rbenv install 2.2.0
rbenv rehash
echo "Install jazzy to xcode documentation"
gem install jazzy
echo "Install alcatraz"
curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment