How to Install Sublime Text 3 using Homebrew

ZakTaccardi picture ZakTaccardi · Dec 9, 2014 · Viewed 98.8k times · Source

How can I use homebrew cask to install Sublime Text 3? I only see sublime text 2 in the repos. I even tried tapping homebrew/versions, but no luck.

Thanks!

EDIT: Answered by my answer below

Answer

ZakTaccardi picture ZakTaccardi · Dec 9, 2014
brew install caskroom/cask/brew-cask
brew tap caskroom/versions
brew cask install sublime-text

Weird how I will struggle with this for days, post on StackOverflow, then figure out my own answer in 20 seconds.

[edited to reflect that the package name is now just sublime-text, not sublime-text3]