Skip to content

Instantly share code, notes, and snippets.

@gaza3g
Forked from t-io/osx_install.sh
Last active September 2, 2017 05:42
Show Gist options
  • Save gaza3g/b606ca427911147946e9 to your computer and use it in GitHub Desktop.
Save gaza3g/b606ca427911147946e9 to your computer and use it in GitHub Desktop.
#!/bin/sh
#install xcode from appstore
# bash <(curl -s https://gist.githubusercontent.com/gaza3g/b606ca427911147946e9/raw/a6e457fb194a6cbc278760b05e6c08fed85c32e1/osx_install.sh)
echo Install XCode cmd tools
xcode-select --install
echo Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install wget
brew install ffmpeg
brew install python
brew tap phinze/cask
brew install brew-cask
brew tap caskroom/versions
#brew cask search
#brew cask uninstall app
# Core Functionality
echo Install Core Apps
brew cask install --appdir="~/Applications" vlc
brew cask install --appdir="~/Applications" iterm2
brew cask install --appdir="~/Applications" the-unarchiver
# From now on, if you get any errors in brew about installation
# being incomplete, run this:
rm -rf "$(brew --cache)"
# Development
echo Install Dev Apps
#brew cask install --appdir="/Applications" github
brew cask install --appdir="/Applications" heroku-toolbelt
#brew cask install --appdir="/Applications" virtualbox
#brew cask install --appdir="/Applications" vagrant
#brew cask install --appdir="/Applications" sublime-text3
#mkdir -p ~/bin && ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
# Nice to have
echo Install Some additional Apps
#brew cask install --appdir="/Applications" firefox
brew cask install --appdir="/Applications" google-chrome
#brew cask install --appdir="/Applications" dropbox
#brew cask install --appdir="/Applications" transmission
#brew cask install --appdir="/Applications" skype
brew cask install --appdir="/Applications" spotify
#brew cask install --appdir="/Applications" spotify-notifications
#brew cask install --appdir="/Applications" seil
#brew cask install --appdir="/Applications" karabiner
brew cask install --appdir="/Applications" shiftit
#brew cask install --appdir="/Applications" shades
git config --global user.name "gazza"
git config --global user.email "gazaly@gmail.com"
git config --global github.user gaza3g
git config --global color.ui true
#disable accented menu
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false && \
#defaults write NSGlobalDomain KeyRepeat -int 1 && \
#defaults write NSGlobalDomain InitialKeyRepeat -int 10 && \
#sudo reboot NEEDS REBOOT FOR CHANGES TO TAKE EFFECT
# cleanup
brew cleanup --force
rm -f -r /Library/Caches/Homebrew/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment