window系统在执行命令npm install nrm -g后在使用nrm一系列命令都会出现报错:
npm install nrm -g
nrm
解决办法如下:
先输入指令npx,之后再输入nrm指令不会再报错
npx
或在执行nrm指令时在前面加上npx指令,效果同上。