Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pug & pug-cli iinstallation success but " bash: pug: command not found"? #69

Open
shp87285604 opened this issue Jan 2, 2018 · 1 comment

Comments

@shp87285604
Copy link

shp87285604 commented Jan 2, 2018

pug & pug-cli iinstallation success but"$ pug -v" " bash: pug: command not found"What causes it ?
q6

The problem was solved .Make changes in your computer's environment configuration.
"C:\Users\MY\AppData\Roaming\npm"in "用户变量-PATH" Add the location of the folder where pug-cli is located
qq111

@z3sb
Copy link

z3sb commented Sep 21, 2022

and for Linux users if you install pug and pug-cli and you get pug not found then you should use sudo to because the /usr/bin cat add a packages in the normal users just like :

sudo npm install pug
sudo npm install pug-cli -g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants