Claude Code 官方发布原生安装程序,让那些不熟悉 Node.js 的新手用户,也能轻松使用了!

  1. 要安装 Claude Code,请使用以下方法之一:
  • Homebrew (macOS, Linux):
    brew install --cask claude-code
    
  • macOS, Linux, WSL:
    curl -fsSL https://claude.ai/install.sh | bash
    
  • Windows PowerShell:
    irm https://claude.ai/install.ps1 | iex
    
  • Windows CMD:
    curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
    
  1. 对于老用户如何迁移到新的安装程序:

    关闭所有 Claude Code 会话,在终端中运行

    claude install
    
  2. 原生安装程序有哪些改进:

    自动更新程序现在更加稳定:用户遇到的更新失败和系统崩溃的情况应该会减少。

  3. 当然还是可以用之前 nodejs的方式,➡️在 Windows 系统上安装官方 Claude Code CLI 教程

Logo

Agent 垂直技术社区,欢迎活跃、内容共建。

更多推荐