Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
CoffeeScript, Jade and Stylus syntax highlighting in Sublime Text 2

Step 1: Clone the bundles into your Sublime Text packages directory

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone git:// CoffeeScript
git clone Jade
git clone Stylus

Step 2: Restart Sublime Text 2

If it hasn't worked, try closing and reopening any saved tabs.

ptdorf commented May 11, 2012

For EJS:
git clone git:// EJS

Preferecnes > Browse Packages gets you to the right directory in windows. [AppData]\Roaming\Sublime Text 2\Packages

darinh commented Sep 28, 2012

Thanks! (:

jonki commented Dec 17, 2012

Awesome, thanks!!! :)

nskeip commented Mar 1, 2013

used this gist to get sublime coffee highlighting at ubuntu

hallizh commented Apr 9, 2013


phungnc commented Apr 13, 2013


Awesome. On Ubuntu/Mint the folder was: /home/USERNAME/.config/sublime-text-2/Packages - I used Browse Packages and then "Find in folder" and read out the Where field.

ericfish commented Jun 2, 2013

This works good for set syntax in sublime text 2. Thanks

Works like a charm on Sublime Text 2 on Mac OSX 10.8.4

Thx :)

zerokol commented Jul 10, 2013

Perfect. On ubuntu is on ~/.config/sublime-text-2/Packages/


Im having problems with the coffeescript url, used the https one to get it working

git clone CoffeeScript

Thanks. Just confirmed it works on Ubuntu 13.04 with Sublime Text 3 (build 3047)
the directory was as @richhollis mentioned at ( /home/USERNAME/.config/sublime-text-3/Packages)

Worked perfectly. Thanks!

jescott commented Dec 22, 2013

Thanks - new Mac OSX Mavericks users with Sublime Text 3 Go to: /Users/"username"/Library/Application\ Support/Sublime\ Text\ 3/Packages

Phazz commented Jan 8, 2014

Thanks love it !

Works great !! thank you :-)

If you are using Sublime on Windows 7, you'll want to clone into

C:\Users\[YOUR_USERNAME]\AppData\Roaming\Sublime Text 2

Better than to install manually is install Package Control:

Wow, much better :) Thanks a lot for sharing!

Great :)

It Works!!

Excellent, works great for Sublime Text 3 on Windows 8.1! Just downloaded the Jade ZIP from GitHub and unzipped it in the packages folder (Preferences > Browse packages). Restarted Sublime and voila!


Works like a champ. Thanks!

Perfect. Thanks.

Thanks for the Gist, Feel dumb for not thinking to do this myself before using the package manager.

Thanks a lot !

Cool. Thanks.

lost my syntax highlighting with jade when i did the sublime text 3 update. It is still installed but i cannot figure out what is wrong.


ghost commented Sep 18, 2014

thank you very much!! :)

maereed commented Sep 21, 2014

Thank you! This will make life so much easier! :)

diliaur commented Oct 10, 2014

Thank you! Works on Sublime Text 2 on OSX 10.9.4 :)

Works, perfectly!

Boom! Thanks

I hoped I wouldn't have to close the tab and re-open for my .coffee but I think that was just necessary to get it working. Thanks!

Works perfect, thank you!

Thanks a ton 😄

LearnBoost has apparently been acquired by another company, so the new link for Stylus is

works nice with ST3 on Ubuntu 14.04!


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