sass is developed based on the Ruby language, so you need to install Ruby before installing sass. (Note: Ruby does not need to be installed under mac!)
To install SASS under the window, you first need to install Ruby, which can be downloaded from the official website . During the installation process, please check Add Ruby executables to your PATH to add it to the system environment variable. As shown below:
The installation process is a little bit, the basic operation of Windows, so the detailed picture will not be cut.
After the installation is complete, test whether ruby is successfully installed, open cmd and enter:
ruby -v
After success, there will be a corresponding version number.
Then execute this command to install sass gem install sass
successfully, we can enter the corresponding scss folder for conversion: