Open In App

How to Install Dart Sass on MacOS?

Last Updated : 23 Jan, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

Dart Sass is a programming language developed by Google used to build server and desktop applications. Dart is an object-oriented, class-based, language. Sass in Dart Sass stands for Syntactically Awesome Stylesheets. Dart Sass brings in the power of basic scripting tools such as variables and loops, to help keep your code more organized and create style sheets faster than with ordinary CSS. It is fast and easy to install and it compiles pure JavaScript. Let’s discuss the most common ways to install dart-sass on MacOS.

Features of Dart Sass

  • Sass allows us to break large style sheet files into smaller and more manageable files. We can work on individual files and Sass compiles them into one larger file, thus saving us time and effort.
  • Sass has the ability to create placeholders for values and these placeholders can be used in our project efficiently.
  • Dart Sass is an open-source programming language and supports all major operating systems. The Dart compiler has its own Virtual Machine allowing Dart programs to run on every system.

Installing Dart Sass on MacOS

Follow the below steps to install Dart Sass on MacOS:

Step 1: Open the terminal in your macOS.

terminal

 

Step 2: Type the below command in your Mac terminal and press enter,

sudo gem install sass

installing-sass

 

Step 3: Wait until your terminal shows successfully installed sass.

sass-installed

 

Dart Sass is successfully installed on your system.

Step 4: For Verification of Dart Sass on your macOS type the “sass -v” command in your mac terminal and press enter. It will show the version of sass installed on your system.

sass -v

verifying-dart-sass

 


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads