Skip to content

Help us create more tutorials! Make a donation using the Donate button or become a member using the button below to hide this banner and track your progress.

How to install Sass

Details

Install using npm

You can install Sass on Windows or macOS using npm. If you have npm installed, enter the following command in your terminal to install Sass:

npm install -g sass

Note that the Sass docs say that the npm version “runs somewhat slower than the other options…”.

Install on Windows

If you have Chocolatey installed, enter the following command in your terminal to install Sass:

choco install sass

Install on macOS

If you have Homebrew installed, enter the following command in your terminal to install Sass:

brew install sass/sass/sass

Check to see if Sass is installed

To check to see if Sass is installed (on either macOS or Windows), enter the following command in your terminal:

sass --version

This will print the version number of Sass if you have it installed.

Exercises

Try installing Sass using one of the methods described in the tutorial. If you can’t install it, you can do these exercises on CodePen.

References

Install Sass | Sass Website

Back to: Sass Course