📅  最后修改于: 2022-03-11 15:04:22.053000             🧑  作者: Mango
Just add:
;C:\Program Files\nodejs\
To the end of your Path variable on the "User variable" section of the Environment Variables on the System Properties.
After that, reopen your command prompt and type
npm
This should work.