{"repo":"DeepTrial/claude-code-offline","free":true,"listed":false,"github":"https://github.com/DeepTrial/claude-code-offline","clone":"git clone https://github.com/DeepTrial/claude-code-offline.git","description":"An intelligent deployment solution for Claude Code with automatic mirror detection and multi-language support.","language":"Shell","stars":46,"topics":["claude-code","offline","setup-script"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Claude Code 离线部署方案 简体中文 English 繁體中文 Русский 日本語 한국어 自动化的 Claude Code 离线部署方案：每天自动从 npm 拉取最新版 Claude Code，构建 Linux 与 Windows 双平台离线包 ，经过 自动化安装测试 后发布到 GitHub Releases。支持镜像源自动检测、地区限制绕过、纯离线安装和无 Node.js 环境。 ✨ 特性 - ✅ 每日自动构建 ：GitHub Actions 每天检查 npm 新版本，自动构建并发布 - ✅ 双平台安装包 ：Linux x64( tar.gz )+ Windows x64( zip ，原生 PowerShell 安装器） - ✅ 测试门禁 ：每个包发布前都在干净环境（无 Node 的 ubuntu 容器 / Windows runner）中跑完整安装 + 启动验证， 测试不过不发版 - ✅ 无需 Node.js :claude-code 2.x 是独立原生二进制，检测到原生二进制时 Node.js 可选装 - ✅ 抗网络抖动 ：联网前 5 秒预检、npm/curl 全部带超时、失败即时报错并给出排查建议，不再\"卡死\" - ✅ 无人值守安装 : --yes / --non-interactive 模式，适合脚本和 CI - ✅ 镜像源自动检测 ：自动测速选择最快的 Node.js / npm / GitHub 镜像 - ✅ 地区限制绕过 ：自动配置跳过首次启动的地区验证 - ✅ 20 个离线 Skills/Plugins ：文档处理、设计、测试、LSP、多智能体框架等 - ✅ 完整卸载功能 ：支持配置备份的彻底卸载 - ✅ 历史版本全部保留 :Releases 不再自动清理，可随时回退 --- 🚀 快速开始 Linux / macOS / WSL 方式 1：一行命令安装（需要网络） 方式 2：离线包安装（无需网络） 方式 3：本地已有离线包 Windows（原生） 1. 从 Releases 下载 claude-offline-packages-windows.zip 并解压 2. 双击 setup-claude-code.bat ，或在 PowerShell 中运行： 安装器会校验原生 claude.exe 、生成配置、并把 bin 目录写入用户 PATH（幂等）。支持 -OfflinePath / -AutoDownload / -NonInteractive / -Uninstall / -ConfigOnly 参数。 --- ⚠️ 安装后必做（关键步骤） 必须配置自己的 API 密钥才能使用： 替换占位值： 然后 打开新终端 （或 source /.bashrc )，验证： 💡 无法直连 Anthropic API 的地区，把 ANTHROPIC BASE URL 配置为你的代理/中转地址。 --- 📦 Release 内容 文件 平台 说明 ------ ------ ------ claude-offline-packages-linux.tar.gz Linux x64 / WSL 完整离线包（含 skills、jq、VSCode 扩展） claude-offline-packages-windows.zip Windows x64 原生 Windows 包（含 skills、jq.exe、PS1 安装器） .sha256 - 校验文件： sha256sum -c .sha256 历史 Release 全部保留","default_branch":null,"files":null,"tree":[],"storefront":"/r/DeepTrial","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DeepTrial/claude-code-offline/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}