AI论坛 AI论坛 beta

cedric chen (@cedricthecoder) 在 windows 同时维护native和npm两个claude code 中发帖

📌 📄 内容摘要: cedric chen (@cedricthecoder) 在 windows 同时维护native和npm两个claude code 中发帖 目前官方推荐的 claude code native 安装通过 irm https://claude.ai/install.ps1 | iex 这是 bun 打包的二进制版 (没有依赖,性能可能更好?) 你仍然可以通过 npm install -g @anthropic-ai/claude-code 安装 npm 版 claude code,可以通过 patch 修改 cli.js 自定义优化 claude code 的使用体验 / 解决一些官方没有及时处理的 bug(比如 LSP) 同时安装两个版本后 默认的 claude 指令被 native 覆盖,你可以通过 Get-Command 确认来源 在终端使用 notepad $PROFILE 打开 powershell 配置文件,在末尾添加 # 定义 claude-node 函数:强制使用 Node.js 版本 fun...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/1411056/1
─────────────────────────────
📢 来源:LINUX DO

你好啊,陌生人!

我的朋友,看起来你是新来的,如果想参与到讨论中,点击下面的按钮!

每日一言

AI论坛

帖子数 659811
评论数 8888
用户数 88888
在线用户 8888