claude update 经常卡死,写了个脚本对claude-code快速install update,支持下载离线包

2026-04-11 15:010阅读0评论SEO问题
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:

claude code 使用官方脚本install和update命令,经常黑窗口卡死且看不到进度
官方的更新频率是真高,写个脚本方便频繁更新

写了个脚本,在 Windows / Linux / macOS 上安装和更新 Claude Code,

  • 支持友好配置代理,不用开tun模式或全局
  • 显示下载进度,拒绝黑窗口一直等待
  • 支持下载离线安装包(copy到没有外网的机器下直接使用)

image1113×522 16.3 KB

快速开始(或手动下载脚本执行)

Windows(PowerShell):

irm https://raw.githubusercontent.com/ipfred/cc-download/master/cc_download.ps1 | iex

Linux / macOS(bash):

curl -fsSL https://raw.githubusercontent.com/ipfred/cc-download/master/cc_download.sh | bash

仓库位置

github.com

GitHub - ipfred/cc-download: claude code install and update on windows OS

claude code install and update on windows OS

网友解答:
阅读全文