Agent 工作初步体验指南 — 按步骤操作,复制粘贴即可
打开终端,复制粘贴对应系统的命令并按回车:
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
在终端中启动 Claude Code,它会自动引导你完成登录:
claude
先退出 Claude Code(按 Esc 两次或输入 /exit),然后创建一个新文件夹并进入:
mkdir workshop && cd workshop
在 workshop 目录中重新启动 Claude Code,然后把下面的链接粘贴进去,按回车:
claude
Claude Code 启动后,复制下面的链接,粘贴到 Claude Code 的输入框中,按回车:
/exit