Scoop
1、修改C:\Windows\System32\drivers\etc\hosts 文件
C:\Windows\System32\drivers\etc\hosts 文件2、打开 powershell,然后输入以下代码
powershell,然后输入以下代码Set-ExecutionPolicy RemoteSigned -scope CurrentUser执行策略更改
执行策略可帮助你防止执行不信任的脚本。更改执行策略可能会产生安全风险,如 https:/go.microsoft.com/fwlink/?LinkID=135170
中的 about_Execution_Policies 帮助主题所述。是否要更改执行策略?
[Y] 是(Y) [A] 全是(A) [N] 否(N) [L] 全否(L) [S] 暂停(S) [?] 帮助 (默认值为“N”): YPowerShell requires an execution policy in [Unrestricted, RemoteSigned, ByPass] to run Scoop.
For example, to set the execution policy to 'RemoteSigned' please run :
'Set-ExecutionPolicy RemoteSigned -scope CurrentUser'3、安装 Scoop
Scoop最后更新于