I did npm install -g pug
as administrator. But I can't run the pug command on the command line. It seems pug isn't installed:
npm config get prefix
C:\Program Files (x86)\Nodist\bin\
In this folder there is no pug file.
I want to use pug for the File Watcher in WebStorm.
To be able to run Pug in command line (to use it in a file watcher), you need installing pug-cli
package globally (npm install pug-cli -g
), see https://github.com/pugjs/pug#command-line. This command will install pug.cmd
in C:\Program Files (x86)\Nodist\bin\
(that must be on your %PATH%
already)