(click anywhere to close)

[SASS] Installation

category: Website | course: SASS | difficulty:

To be able to use SASS, unlike CSS, we need to install it on the computer. Don’t worry; the package is very small and easy to install. The installation, however, works via something called gems, which is a cool feature of the Ruby language. So, what do we do? We install Ruby, then we install SASS.

Installing Ruby

How the Ruby installation works depends on your operating system.


Linux installs Ruby (and lots of other things) through package management systems. The Ruby website has an excellent page explaining how to do so for every Linux system; Ruby Installation


Yay, Ruby is installed on Macintosh computers by default! You can skip to the next step.


For Windows, you need to download the Ruby Installer, and then simply run it and perform a few clicks.

Make sure the option Add Ruby executables to your PATH is checked.

Check if it Worked

To really make sure installation was successful, open the command line tool on your system. This is (probably) Command Prompt for Windows, Terminal for Mac, and Bash for Linux. Then type

ruby –v

And it should return your current Ruby version.

Installing Sass

Now, with Ruby installed, getting SASS is quick and the same line across all systems. Again, in your command line tool, type

gem install sass

It should show you the steps it’s taking (downloading, installing, parsing, …) and say something like “1 gem installed” when finished. If it fails, you will need to use

sudo gem install sass

All this does is access the command line as an administrator of your system, which gives you more rights for installing and modifying the system. That’s it! You can check if installation was successful by typing

sass -v

Again, it should return he the current version of SASS.

Do you like my tutorials?
To keep this site running, donate some motivational food!
Chocolate Milk