
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@mearl/setup
Advanced tools
Mearl 环境的一次性安装、更新与卸载工具。无需先全局安装 setup:
npx @mearl/setup <install|update|uninstall> [--local|--cloud|--mcp] [--yes]
install 未指定环境时默认 --local。update 和 uninstall 未指定环境时,从当前 PATH 中的
mearl-native-host、mearl-cloud、mearl-mcp-server 自动检测,可同时处理
多个已安装环境。--local、--cloud 或 --mcp 时只处理指定环境。ali-skills 的 JSON 清单定位,只处理一次。--mcp 的客户端配置和清理由 @mearl/mcp-server 自己的命令完成。浏览器扩展与 Native Host 首次建联时会交换版本。每次扩展后台启动只检查一次;当扩展
进入更高的 major.minor release line 时,旧 Host 会在保持当前连接可用的前提下,调用
对应 major.minor.x 范围内最新的 @mearl/setup,把 @mearl/native-host 与
@mearl/client 一起更新到该范围内的最新版本。成功后 Host 退出,扩展通过已有重连机制
启动新版本。只有两个本地 CLI 版本一致且都属于扩展的 release line 时,更新才会被视为成功。
自动更新不会降级较新的 Host,也不会改动 cloud、MCP 或独立安装的 Mearl Skill。
目标 npm 版本尚未发布、网络不可用或更新失败时,旧 Host 会继续运行;下一次扩展后台
生命周期可重新尝试,也可手动执行 npx @mearl/setup update --local。
--yes,需要选择 Skill 安装目标或 MCP 客户端时会显示交互提示。--yes(也可写
--non-interactive)。首次安装会选择已检测到的 Agent / MCP 客户端,卸载会清理
所有已检测到的相关配置。install 或 uninstall 却未加上述参数时,会在任何改动前退出并提示正确命令。0 表示完整成功,1 表示执行未完成,2 表示参数或交互模式不适用。# 默认安装本地浏览器环境
npx @mearl/setup install
# Agent / CI 无交互安装
npx @mearl/setup install --yes
# 安装云端 Agent 环境
npx @mearl/setup install --cloud
# 自动更新当前 PATH 中检测到的全部 Mearl 环境
npx @mearl/setup update
# 只卸载本地环境
npx @mearl/setup uninstall --local
# 自动检测并无交互卸载
npx @mearl/setup uninstall --yes
原有的 npm/npx 安装方式和各包 CLI 保持可用;setup 只是统一的便利入口。
FAQs
One-shot installer, updater, and uninstaller for Mearl environments
We found that @mearl/setup demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.