deepx-code icon indicating copy to clipboard operation
deepx-code copied to clipboard

🐛 安装脚本出错

Open ccolorcat opened this issue 4 months ago • 2 comments

提交前确认 / Preflight

  • [x] 我已搜索过 issues,没有重复 / I searched existing issues and found no duplicate
  • [x] 我用的是最新版本(或已说明所用版本) / I'm on the latest version (or stated my version below)

版本 / Version

no

安装方式 / Install method

install.sh 一键安装脚本 / install script

操作系统 / OS

macOS (Apple Silicon / arm64)

环境细节 / Environment detail

No response

问题描述 / What happened

安装出错。

PS:给的创建 issue 过于繁锁,一般用户并不一定有耐心填写这么多东西,初期建议简化这个模板。

复现步骤 / Steps to reproduce

按照 https://itmisx.github.io/deepx-code/#install 中指定的方法安装,出现错误。

报错信息 / 日志 / Error output / logs

$ curl -fsSL https://raw.githubusercontent.com/itmisx/deepx-code/main/scripts/install.sh | bash

  ┌─────────────────┐
  │     deepx       │   终端里的 AI 代码助手
  └─────────────────┘   github.com/itmisx/deepx-code


==> Detecting platform
[OK]    Platform: darwin/arm64

==> Checking required tools

==> Resolving version
[INFO]  Querying latest release from github...
curl: (56) The requested URL returned error: 403
[ERROR] 无法查询最新版本(来源:github)。可能是网络问题或 API 限频。
[INFO]  方案1: 稍后重试
[INFO]  方案2: 用 --version v0.x.y 显式指定版本(跳过查询)
[INFO]  方案3: 切换来源重试(SOURCE=gitee 或 SOURCE=github)

ccolorcat avatar Jul 10 '26 04:07 ccolorcat

@ccolorcat 应该是你当前github网络受限,你可以用gitee的源试试

curl -fsSL https://gitee.com/itmisx/deepx-code/raw/main/scripts/install.sh | SOURCE=gitee bash && exec $SHELL

itmisx avatar Jul 10 '26 05:07 itmisx

@ccolorcat 应该是你当前github网络受限,你可以用gitee的源试试

curl -fsSL https://gitee.com/itmisx/deepx-code/raw/main/scripts/install.sh | SOURCE=gitee bash && exec $SHELL

应该不是,我本身也是开发者,对 github 高度依赖,我同时安装了其它几个 agent,其中也有托管在 github 上的脚本。而且安装错误我好像在知乎还是 B 站看到有其他人也提到过一次。我再试试看吧。

ccolorcat avatar Jul 10 '26 16:07 ccolorcat