请教 Windows Claude code cli 要如何更新?

5 月 8 日
 happyyl
挂了霉国节点,claude --upgrade 还是更新不了:

PS C:\Users\Administrator> claude --upgrade
Current version: 2.1.117
Checking for updates to latest version...
Error: Failed to install native update
Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED
Try running "claude doctor" for diagnostics
PS C:\Users\Administrator> claude doctor

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Diagnostics
├ Currently running: native (2.1.117)
├ Commit: 5e9d59ce46d5
├ Platform: win32-x64
├ Path: C:\Users\Administrator\.local\bin\claude.exe
├ Config install method: native
└ Search: OK (bundled)

Updates
├ Auto-updates: disabled (set by env: CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC)
├ Auto-update channel: latest
└ Version check skipped (essential-traffic-only mode)

Still having issues? Run /feedback to report details.

Press Enter to continue
PS C:\Users\Administrator>
1943 次点击
所在节点    Claude Code
3 条回复
twofox
5 月 8 日
看起来还是网络的问题,可以换一个节点看看
fbu11
5 月 8 日
windows 电脑用 winget 呗
winnerczwx
5 月 8 日
用 npm 直接更新不行吗

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1211080

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX