V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
logbang

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

  •  
  •   logbang · 9h 9m ago · 445 views
    挂了霉国节点,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>
    3 replies    2026-05-08 15:27:26 +08:00
    twofox
        1
    twofox  
       9h 3m ago
    看起来还是网络的问题,可以换一个节点看看
    fbu11
        2
    fbu11  
       8h 41m ago
    windows 电脑用 winget 呗
    winnerczwx
        3
    winnerczwx  
       4h 10m ago
    用 npm 直接更新不行吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3476 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 75ms · UTC 11:37 · PVG 19:37 · LAX 04:37 · JFK 07:37
    ♥ Do have faith in what you're doing.