网址CaptiontypedateslugsummarytagscategoryiconpasswordPost URLPlatformsNotionsocialTimeLikesFirst CommentMediaViewsCommentsStatusstatus打开终端执行命令报错图片 (2635x1205)这是权限问题!在 WSL Ubuntu 中安装全局 npm 包时遇到了权限错误。修改 npm 默认目录(推荐,避免以后的权限问题)创建 npm 全局目录: 配置 npm 使用新目录: 添加到 PATH: 重新安装 Claude Code: 设置 API 密钥 然后就可以使用了: 上一篇SSH Socks5代理配置完整教程下一篇打工人想要财务自由,得先改变这个思维Next打工人想要财务自由,得先改变这个思维Author:易安URL:http://preview.tangly1024.com/article/25ded26c-0da0-81e5-969e-cd607c32f635Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!