nrm : 无法加载文件 C:\Users\TANG\AppData\Roaming\npm\nrm.ps1,因为在此系统上禁止运行脚本

转载自:https://blog.csdn.net/ougexingfuba/article/details/104056327

1.win+s 搜索powershell 以管理身份运行


2.使用set-ExecutionPolicy RemoteSigned命令将计算机上的执行策略更改为 RemoteSigned,输入Y确定

3.查看计算机执行策略get-ExecutionPolicy

 
原文地址:https://www.cnblogs.com/jeacy/p/15519352.html