Skip to content

Instantly share code, notes, and snippets.

@dalemanthei
Last active August 29, 2015 14:06
Show Gist options
  • Save dalemanthei/40bf9d49704269c477e5 to your computer and use it in GitHub Desktop.
Save dalemanthei/40bf9d49704269c477e5 to your computer and use it in GitHub Desktop.
Ruby script to install OS X apps on system
#!/usr/bin/ruby
# todo: add prompt for installing app store apps first
# todo: hook in homebrew installation
# ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brews = [
'ant',
'brew-cask',
'ffmpeg',
'mongodb',
'node',
'wget'
]
# todo: install brews
brews.each { |b| cmd = "brew install " + b; puts cmd; system( cmd ); }
# todo: install npm globals
# npm install grunt-cli, jshint
casks = [
'adium',
'atom',
'bartender',
'betterzipql',
'burn',
'carbon-copy-cloner',
'chromium',
'controlplane',
'dash',
'firefox',
'flux',
'github',
'google-chrome',
'google-drive',
'google-earth',
'google-hangouts',
'handbrake',
'handbrakecli',
'hazel',
'heroku-toolbelt',
'intellij-idea',
'isolator',
'iterm2',
'karabiner',
'keyboard-maestro',
'lastfm',
'macvim',
'marked',
'nvalt',
'omnifocus',
'path-finder',
'quicklook-csv',
'quicklook-json',
'quicksilver',
'remote-desktop-connection',
'scansnap-manager',
'seil',
'skim',
'skitch',
'skype',
'spotify',
'twitterific',
'virtualbox',
'vlc'
]
casks.each { |c| cmd = "brew cask install " + c; puts cmd; system( cmd ); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment