How to install Sublime Text 3 using Homebrew

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

Thank!

EDIT: answer to my answer below

+67
homebrew sublimetext2 sublimetext sublimetext3 homebrew-cask
Dec 09 '14 at 2:37
source share
5 answers

I originally used this page to solve the same problem in the past - however, it would seem that the updated sublime-text bot has now been updated to the latest version of Sublime Text 3 . No workarounds are required anymore.

Change log for Sublime Text 3, loaded from the <code> sublime-text </code> header.

+20
Jul 04 '16 at 6:59
source share
 brew install caskroom/cask/brew-cask brew tap caskroom/versions brew cask install sublime-text 

It is strange how I will deal with this for several days, post to StackOverflow, and then figure out my own answer in 20 seconds.

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

+159
Dec 09 '14 at 14:40
source share

Update

Now it turns out that brew cask install sublime-text installs the latest version by default (for example, 3), and brew cask now included in the standard brew installation.

+23
Nov 07 '16 at 6:58
source share
 $ brew tap caskroom/cask $ brew install brew-cask $ brew tap caskroom/versions $ brew cask install sublime-text 
+8
May 15 '15 at 12:04
source share

I did not have a brew cask , so I had to install it first, so these were the following steps:

 brew install caskroom/cask/brew-cask brew tap caskroom/versions brew cask install sublime-text 
+3
Aug 13 '15 at 19:55
source share



All Articles