Skip to content

Instantly share code, notes, and snippets.

@paliari
Forked from neves/mac-install.sh
Created February 18, 2014 17:27
Show Gist options
  • Save paliari/9075532 to your computer and use it in GitHub Desktop.
Save paliari/9075532 to your computer and use it in GitHub Desktop.
# mac virgem 10GB ((9.0Gi with df -h))
# apenas para forçar a senha
sudo whoami
# brew (install xcode tools and git)
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew doctor
# neves/dotfiles
git clone https://github.com/neves/dotfiles.git ~/.dotfiles
echo "source ~/.dotfiles/bashrc" >> ~/.bash_profile
source ~/.bash_profile
# brew packages
brew install wget bash-completion git-flow unrar
brew tap homebrew/dupes
brew tap josegonzalez/homebrew-php
brew install php53 php54 php55 php56
# mysql
brew install mysql
ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
cd ~/Downloads
mkdir -p ~/Applications
# iTerm2
wget http://www.iterm2.com/downloads/stable/iTerm2_v1_0_0.zip
unzip iTerm2*
mv iTerm.app ~/Applications
# Sublime Text
wget http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203059.dmg
hdiutil mount Sublime*.dmg
sudo cp -R "/Volumes/Sublime Text/Sublime Text.app" ~/Applications
hdiutil unmount "/Volumes/Sublime Text"
# GitX
wget http://builds.phere.net/GitX/development/GitX-dev.dmg
hdiutil mount GitX-dev.dmg
sudo cp -R "/Volumes/GitX 0.14.95/GitX.app" ~/Applications
hdiutil unmount "/Volumes/GitX 0.14.95"
ln -sf ~/Applications/GitX.app/Contents/Resources/gitx /usr/local/bin/gitx
# Google Chrome
wget https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg
hdiutil mount googlechrome.dmg
sudo cp -R "/Volumes/Google Chrome/Google Chrome.app" ~/Applications
hdiutil unmount "/Volumes/Google Chrome"
# Sequel Pro
wget https://sequel-pro.googlecode.com/files/sequel-pro-1.0.2.dmg
hdiutil mount sequel-pro-1.0.2.dmg
sudo cp -R "/Volumes/Sequel Pro 1.0.2/Sequel Pro.app" ~/Applications
hdiutil unmount "/Volumes/Sequel Pro 1.0.2"
# PhpStorm
wget http://download.jetbrains.com/webide/PhpStorm-7.1.2.dmg
hdiutil mount PhpStorm-7.1.2.dmg
sudo cp -R "/Volumes/PhpStorm/PhpStorm.app" ~/Applications
hdiutil unmount "/Volumes/PhpStorm"
# Mac Settings
defaults write com.apple.dock autohide true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment