...

/

How to Install and Configure SASS Locally

How to Install and Configure SASS Locally

In this lesson, we'll cover the installation of SASS onto our local machine. Including the initial configuration & live server setup.

Before we can write Sass code, it needs to be installed locally. As by default, it’s not a language known to the browser.

Let’s now go through the process to setup the environment that will allow us to write then compile Sass.

Note: When Sass is compiled, it is converted into regular CSS code that browsers can interpret and render.

Environment setup #

Before we start, you must have npm installed on your computer, it comes bundled with Node.js; you can install it from here. Go ahead and install it if you haven’t already.

If you are unsure whether you have Node.js installed or not, run node -v from your terminal.

If you see a version number, it’s installed!

A note on terminal:

If you are new to SASS, chances are you may also be new to running commands from the terminal. ...