一键安装
一条命令,快速搭建 AI 工作环境
自动安装 Bun、Claude Code、42plugin CLI、42cc 及 Zed
$
curl -fsSL https://get.42plugin.com/mac | bash国内用户网络较慢时,可加上 --mirror 参数使用国内镜像源
安装了什么
脚本会自动检测并安装以下组件
安装后下一步
安装完成后,按以下步骤开始使用
1
刷新终端
关闭并重新打开终端,或执行 source ~/.zshrc
2
3
安装第一个插件
运行 42plugin install 42ailab/sci/psych-review
常见问题
安装卡住或下载很慢?
国内用户建议使用镜像源:curl -fsSL https://get.42plugin.com/mac | bash -s -- --mirror
macOS 提示 curl: command not found?
执行 xcode-select --install 安装命令行工具后重试。
权限不足(Permission denied)?
不要使用 sudo 运行安装脚本。如果遇到权限问题,检查 ~/.bun 和 ~/.claude 目录权限。
Windows PowerShell 报错?
以管理员身份打开 PowerShell,执行 Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned 后重试。
安装后命令找不到(command not found)?
关闭终端并重新打开。如果仍然找不到,执行 source ~/.zshrc(macOS)或 source ~/.bashrc(Linux)。
只想安装部分组件?
使用 --only 参数:bash -s -- --only bun,claude,42plugin。可选组件:bun、claude、42plugin、42cc、zed。