Skip to content

Instantly share code, notes, and snippets.

@jdoconnor
Last active August 29, 2015 14:00
Show Gist options
  • Save jdoconnor/f3dc50bd12aa4ad6f839 to your computer and use it in GitHub Desktop.
Save jdoconnor/f3dc50bd12aa4ad6f839 to your computer and use it in GitHub Desktop.
getting started
# please pay attention to the terminal. These installations have a lot of feedback on the commandline to view.
# rvmrc
\curl -sSL https://get.rvm.io | bash -s stable
rvm install 2.0.0
# install command line tools for building.
xcode-select --install
# install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
# get homebrew-cask
brew tap caskroom/cask
brew install caskroom/cask/brew-cask
# see the appdir path below. without it, you'll install to ~/Applications, which is perfectly fine for some people
brew cask --appdir=/Applications install sublime-text sequel-pro google-chrome sourcetree google-drive caffeine hipchat iterm2 robomongo ngrok shuttle vagrant
# install service stuff
brew install mysql elasticsearch redis mongodb memcached rabbitmq node sqlite imagemagick
@jdoconnor
Copy link
Author

good calls

@shanesveller
Copy link

RVM

  • \curl -sSL https://get.rvm.io | bash -s stable --ruby=2.0.0 to install Ruby alongside RVM in one command

Cask

  • Virtualbox for Vagrant

Other

Brew supports brew bundle per this article on Thoughtbot's blog. My Brewfile from my dotfiles repo currently looks something like this:

update
tap homebrew/binary
tap jingweno/gh
tap phinze/cask
tap thoughtbot/formulae

install autojump
install brew-cask
install direnv
install docker
install gh
install gist
install gitsh
install gpg
install htop-osx
install ncdu
install node
install packer
install rbenv-gem-rehash
install rcm
install ruby-build
install ruby-install
install ssh-copy-id
install tmux

cask install adium
cask install calibre
cask install github
cask install gitx
cask install launchrocket
cask install menumeters
cask install ngrok
cask install --appdir=/Applications virtualbox
cask install --appdir=/Applications vagrant

The syntax is basically any brew <whatever> command with the brew portion removed. A good way to see what non-dependency packages you've installed with homebrew is brew leaves.

This all kind of ties into my blog post for Monday :)

@jdoconnor
Copy link
Author

@shanesveller - Thanks, I wasn't aware of Brewfile. Maybe we make public forkable repo with a base file and let people fork and customize as needed for personal use (because everyone should be familiar with git rebase or merge when our base changes)

started a repo here
https://github.com/jdoconnor/mac-setup

@kevinreedy
Copy link

Some more things to probably add:

Thoughts on opening some websites to get started?

Thoughts on any default config files like square's https://github.com/square/maximum-awesome?

@fredlee
Copy link

fredlee commented May 5, 2014

This may be operating at one level higher. But, something to consider: http://osxc.github.io/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment