scss command not found

In this troubleshooting guide we learn how to fix scss command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

scss: command not found

or when using sudo you get the following error message

sudo: scss: command not found

Solutions to scss: command not found

How To Fix scss: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu scss is provided by ruby-sass package.

ruby-sass is:

Sass makes CSS fun again. Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more.

It’s translated to well-formatted, standard CSS using the command line tool or a web-framework plugin.

Ruby Sass should no longer be used and will no longer be receiving any active development. Please use sassc or ruby-sassc instead.

To fix this problem, we can install more using the command below.

sudo apt-get -y install ruby-sass

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install ruby-sass.

sudo apt -y install ruby-sass

Or if you have aptitude installed you can use the following command.

sudo aptitude install ruby-sass

Summary

In this tutorial we learn how to fix scss command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.