原因 因为vscode自带的是powershell 解决方法 1、 window +x 2、 Windw.powerShell(管理员A) 3、 set-ExecutionPolicy RemoteSigned 4、 y 5、 get-ExecutionPolicy