Cnpm install vuecli error [How to Solve]

cnpm install -g @vue/cli

Cnpm: the file D:\program files\nodejs\cnpm.ps1 cannot be loaded because running scripts is prohibited on this system. For more information, see about in HTTPS:/go.Microsoft
oft.COM/fwlink /?LINKID = 135170_Execution_Policies。
location line: 1 character: 1
+ cnpm install – G @ Vue/cli
+ ~ ~ ~
+ CategoryInfo          : SecurityError: (:) [],PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess

cmd: enter Start-Process powershell -Verb runAs

Continue to re execute set-ExecutionPolicy RemoteSigned. Select Y

Then re-execute cnpm install -g @vue/cli

Read More: