Preparation for installation
- 需要Node.js环境(推荐16+版本)
- 需要npm包管理器(Node.js自带)
- 需申请Anthropic API Key
Detailed installation steps
- Setting the API key::
Execute theexport ANTHROPIC_API_KEY=[你的API密钥]
或写入.bashrc/.zshrc
file - global installation::
fulfillmentnpm install -g mycoder
- Verify Installation::
(of a computer) runmycoder --version
检查版本号
(of a computer) runmycoder -h
View Helpful Information
common problems
如遇安装问题,可加入MyCoder.ai的Discord社区(https://discord.gg/5K6TYrHGHt)寻求支持。
This answer comes from the articleMyCoder: Command-line AI tool for automating code fixes, test case generationThe