Skip to content

Instantly share code, notes, and snippets.

@simonc
Last active October 14, 2020 22:22
Show Gist options
  • Save simonc/06d5d3a48388f765816819a4f5a8f72c to your computer and use it in GitHub Desktop.
Save simonc/06d5d3a48388f765816819a4f5a8f72c to your computer and use it in GitHub Desktop.
Install script
# XCode tools
xcode-select --install
# Prevent Music.app from launching when the PLAY key is pressed
launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist
# Homebrew (http://brew.sh/)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew upgrade
# Softwares
brew cask install \
appcleaner \
atom \
firefox \
google-chrome \
google-drive \
imageoptim \
iterm2 \
vlc \
zeplin
# CLI tools
brew install \
heroku-toolbelt \
chruby \
colordiff \
coreutils \
git \
gnu-sed \
hub \
imagemagick \
mas \
memcached \
node@6 \
openssl \
phantomjs \
postgresql \
redis \
ruby-install \
the_silver_searcher \
watch \
wget \
z \
zsh-syntax-highlighting
# Speed the fucking keyboard repeat up! (needs a restart)
defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain InitialKeyRepeat -int 12
defaults write -g ApplePressAndHoldEnabled -bool false
# Ruby
ruby-install ruby 2.3.0 -- CFLAGS="-O3" --disable-install-rdoc
ruby-install ruby 2.3.2 -- CFLAGS="-O3" --disable-install-rdoc
ruby-install ruby 2.3.3 -- CFLAGS="-O3" --disable-install-rdoc
ruby-install ruby 2.4.0 -- CFLAGS="-O3" --disable-install-rdoc
echo 'ruby-2.4.0' > ~/.ruby-version
# Bower install
npm install -g bower ember-cli
# Slack install from apple store using MAS
mas install 803453959
# Get Sketch from official site
wget https://www.sketchapp.com/download/sketch.zip -O ~/Downloads/sketch.zip
# Get TextMate from official site
wget https://api.textmate.org/downloads/release?os=10.8 -O ~/Downloads/textmate.tbz
# Add heroku:accounts
heroku plugins:install heroku-accounts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment