sass -v # output should not be Ruby sass
# Note: npm dart-sass is now sass
sudo apt-get remove sass
Note: also remove the sass, scss and sass-convert file in your usr/bin dir.
npm install -g sass # dart sass
npm sass -v
- https://dart.dev/get-dart : install dart sdk
- https://github.com/sass/dart-sass/releases/ : download dart-sass from git
- set up PATH for dart sass in runtime configuration(~/.*rc) of any terminal you are using
export PATH=$PATH:/location/to/dart-sass >> ~/.*rc
npm i sass #for latest sass watching
sass --watch scss:css # or just -w
npm i sass --save-dev
Unit test package for sass.
Lint testing for sass.
Some plugin libraries to enhance the linting.