You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

重装Spicetify时出现iwr无法连接远程服务器错误求助

Spicetify重装时「无法连接远程服务器」错误解决办法

问题详情

之前正常使用Spicetify,重装时执行官方PowerShell安装命令时触发错误:

iwr : Unable to connect to the remote server
At line:1 char:1

  • iwr -useb https://raw.githubusercontent.com/spicetify/spicetify-cli/m ...
  • CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
  • FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

已尝试YouTube上多种方案,均未解决。

解决步骤

1. 排查网络连通性

  • 先在浏览器打开https://raw.githubusercontent.com/spicetify/spicetify-cli/main/install.ps1,如果打不开,说明是网络无法访问GitHub,可尝试切换网络(如手机热点)或使用合规的网络工具
  • 若用代理,需给PowerShell配置代理(替换为你的代理地址):
    netsh winhttp set proxy proxy-server="http://127.0.0.1:7890" bypass-list="localhost,127.0.0.1"
    
    安装完成后可重置代理:
    netsh winhttp reset proxy
    

2. 手动下载脚本安装

  • 浏览器打开上述GitHub脚本链接,保存为install.ps1到本地
  • 打开PowerShell,切换到脚本所在文件夹,执行:
    .\install.ps1
    

3. 调整PowerShell执行策略

  • 若提示脚本无法执行,先设置允许本地脚本运行:
    Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
    
    输入Y确认后,再重试安装命令

4. 清理旧版本残留

  • 先卸载旧版本:
    spicetify uninstall
    
  • 删除残留文件:前往C:\Users\<你的用户名>\.spicetify路径,彻底删除该文件夹后再重新安装

内容的提问来源于stack exchange,提问作者Avianage

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.12 20:58:23