sass-spec command not found

In this troubleshooting guide we learn how to fix sass-spec command not found error message

Introduction

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

sass-spec: command not found

or when using sudo you get the following error message

sudo: sass-spec: command not found

Solutions to sass-spec: command not found

How To Fix sass-spec: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sass-spec is provided by sass-spec package.

sass-spec is:

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

sass-spec is a testsuite verified against the original ruby-sass, which should succeed for alternative implementations as well.

This package provides the compliance testing tool sass-spec.

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

sudo apt-get -y install sass-spec

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

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

sudo apt -y install sass-spec

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

sudo aptitude install sass-spec

Summary

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