Install Sass step by step.
Before you start using Sass you will need to install Ruby.
The easiest way to get Ruby on your Windows computer is to use Ruby Installer. It’s a single-click installer that will get everything set up for you super fast.
The installer will also install a Ruby command line Powershell application that will let you use the Ruby libraries.
Here’s the quickest way we’ve found to start using Sass by using the command line:
- Open your Terminal or Command Prompt. On the Mac the Terminal.app comes installed by default. It’s located in your “Utilities” folder. On Windows, run
- Install Sass. Ruby uses Gems to manage its various packages of code like Sass. In your open terminal window type:
1gem install sass
sudocommand to install the Sass gem. It would look like:
1sudo gem install sass
- Double-check. You should now have Sass installed, but it never hurts to double-check. In your terminal application you can type:
Sass 3.4.22 (Selective Steve). Congratulations! You’ve successfully installed Sass.