Install Sass

ApplicationsApplications permalink

Mouse

There are a good many applications that will get you up and runningwith Sass in a few minutes for Mac, Windows, and Linux. You can downloadmost of the applications for free but a few of them are paid apps(and totally worth it).

LibrariesLibraries permalink

The Sass team maintains two Node.js packages for Sass, both of whichsupportthe standard JavaScriptAPI. Thesass package is pureJavaScript, which is a little slower but can be installed on all platformsNode.js supports. Thesass-embedded package wraps aJSAPI around theDartVM, so it’s faster but only supports Windows, MacOS, and Linux.

There are also community-maintained wrappers for the following languages:

Command LineCommand Line permalink

Keyboard

When you install Sass on the command line, you’ll be able to run thesass executable to compile.sass and.scss files to.css files.For example:

sass source/stylesheets/index.scss build/stylesheets/index.css

First install Sass using one of the options below, then runsass --version to be sure it installed correctly. If it did, this willinclude1.86.0.You can also runsass --help for more informationabout the command-line interface.

Once it’s all set up,go and play. If you’re brand new toSass we’ve set up some resources to help you learn pretty darn quick.

Learn More About Sass

Install Anywhere (Standalone)

You can install Sass on Windows, Mac, or Linux by downloading the package foryour operating systemfromGitHub andadding it toyourPATH. That’s all—there are noexternal dependencies and nothing else you need to install.

Install Anywhere (npm)

If you use Node.js, you can also install Sass usingnpm by running

npm install -g sass

However, please note that this will install the pure JavaScriptimplementation of Sass, which runs somewhat slower than the other optionslisted here. But it has the same interface, so it’ll be easy to swap inanother implementation later if you need a bit more speed!

Install on Windows (Chocolatey)

If you use theChocolatey package manager forWindows, you can install Dart Sass by running

choco install sass
Install on MacOS X or Linux (Homebrew)

If you usethe Homebrew package manager for MacOS X orLinux, you can install Dart Sass by running

brew install sass/sass/sass