Installing and working with Sass and Compass on the command line

Before we can install Sass and Compass, we need Ruby installed. If you are on OS X, you already have it.

Installing Ruby on Windows

If you are on Windows, head over to, download, and install the latest Ruby installer file (for example, it will be a file link as follows, depending upon the current version: Just use the defaults (you don't need to put any tick boxes in the options). Linux users should be able to install Ruby direct from their package manager.

I'm assuming if you are running Linux you are savvy enough to understand what to do, if not, I'd suggest getting a Mac! ...

Get Sass and Compass for Designers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.