There are a couple of ways to start using Sass:
There are a good many applications that will get you up and running with Sass in a few minutes for Mac, Windows, and Linux. You can download most of the applications for free but a few of them are paid apps (and totally worth it).
When you install Sass on the command line, you'll be able to run the
sassexecutable to compile
.cssfiles. For example:
sass source/stylesheets/index.scss build/stylesheets/index.css
First install Sass using one of the options below, then run
sass --versionto be sure it installed correctly. If it did, this will include
1.17.0. You can also run
sass --helpfor more information about the command-line interface.
Once it's all set up, go and play. If you're brand new to Sass we've set up some resources to help you learn pretty darn quick.
- Install Anywhere (Standalone)
- You can install Sass on Windows, Mac, or Linux by downloading the package for your operating system from GitHub and adding it to your
PATH. That's all—there are no external dependencies and nothing else you need to install.
- Install Anywhere (npm)
If you use Node.js, you can also install Sass using npm by running
- Install on Windows (Chocolatey)
If you use the Chocolatey package manager for Windows, you can install Dart Sass by running
choco install sass
- Install on Mac OS X (Homebrew)
If you use the Homebrew package manager for Mac OS X, you can install Dart Sass by running
brew install sass/sass/sass