手把手教你配置 AI 编程开发环境。
| 要求 | 最低版本 |
|---|---|
| Node.js | 18.x |
| 内存 | 8GB |
| 磁盘 | 10GB |
Windows:
winget install OpenJS.NodeJS.LTSmacOS:
brew install node# Windows: winget install Git.Git
# macOS: brew install gitnpm install -g openclaw
openclaw init
openclaw startVS Code 插件市场搜索 "GitHub Copilot"
- https://platform.openai.com/api-keys
- 创建 API Key
- 配置到工具中
- https://console.anthropic.com/
- 创建 API Key
ollama pull llama2
ollama run llama2# 验证 OpenClaw
openclaw --version
# 验证 Cursor
cursor --version
# 验证 Copilot
# 在 VS Code 中登录 GitHub 即可配置完成后,运行第一个任务:
"帮我创建一个 hello.py 文件"