跳转到主要内容

idea中使用claude code

需要最新版的idea

  • https://www.jetbrains.com/zh-cn/idea/download/?section=windows

需要nodejs

  • https://nodejs.org/en/download

安装claude code

2026年4月14日,claude 官方宣布不再支持使用npm安装l,请到官方网站查看安装方法

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


# 如果出现403,应该只开打开浏览器下载install.cmd 然后再执行install.cmd

curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd


npm install -g @anthropic-ai/claude-code

安装idea插件