记录一次claude的安装

记录一次claude的安装

Table of Contents

本地环境:

windows11,使用powershell

安装

使用官方脚本安装,官网地址官网地址

irm https://claude.ai/install.ps1 | iex

安装完成后若提示

✔ Claude Code successfully installed!

  Version: 2.1.140

  Location: C:\Users\userpath\.local\bin\claude.exe


  Next: Run claude --help to get started

⚠ Setup notes:
  ● Native installation exists but C:\Users\userpath\.local\bin is not in your PATH. Add it by opening: System Properties →
     Environment Variables → Edit User PATH → New → Add the path above. Then restart your terminal.


✅ Installation complete!

需要在path环境变量中添加路径,按照提示操作即可。

依次打开填写即可。

系统属性 → 环境变量 → 用户 PATH → 新建 → C:\Users\userpath\.local\bin

关闭终端,重新打开powershell即可。

测试是否安装成功:输入claude,弹出宠物即成功。

参考链接:

https://www.runoob.com/claude-code/claude-code-install.html

https://code.claude.com/docs/en/quickstart#native-install-recommended

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注