Skip to content

v1.2.0 — One-line install on macOS, Linux & Windows

Choose a tag to compare

@yanauto yanauto released this 21 Nov 02:01
· 5 commits to main since this release

One line, any machine

macOS / Linux:

curl -fsSL https://broco.yanauto.me/install.sh | sh

Windows (PowerShell):

irm https://broco.yanauto.me/install.ps1 | iex

Already on Node.js 22.13+? npm install -g @yanauto/broco still works.

Highlights

  • One-line installers: install into their own folder (~/.local/share/broco or %LOCALAPPDATA%\broco), reuse an existing Node.js 22.13+ or download a SHA-256 verified Node.js 24 LTS runtime, need no admin rights, and leave your global npm and existing Node untouched. Automatic fallback to npmmirror for users in mainland China. Rerun to upgrade; --uninstall / -Uninstall to remove.
  • Node.js 22.13+ support: the minimum drops from 24 to 22.13.0; only the SQLite ExperimentalWarning is silenced, and unsupported versions get a clear message pointing to the installers.
  • SQLite busy timeout: every database open now waits up to 5 seconds instead of failing with database is locked when the CLI and runner touch the database at the same time.
  • CI: Node 22.13.0 and 24 on Ubuntu and Windows, plus a new installer workflow on Ubuntu, macOS and Windows.

中文更新要点

  • 一行命令安装:macOS / Linux 用 curl -fsSL https://broco.yanauto.me/install.sh | sh,Windows 用 irm https://broco.yanauto.me/install.ps1 | iex。装入独立目录,已有 Node.js 22.13+ 就直接用,没有就下载经 SHA-256 校验的 Node.js 24 LTS;不需要管理员权限,不改全局 npm 和已有 Node;官方源失败时自动切换 npmmirror。重跑即升级,--uninstall / -Uninstall 卸载。
  • 支持 Node.js 22.13+:最低版本从 24 降到 22.13.0,只屏蔽 SQLite 实验警告;版本过低时给出清楚提示和安装脚本地址。
  • SQLite 等待超时:命令行和后台进程同时读写数据库时最多等 5 秒,不再直接报 database is locked。
  • CI:Ubuntu 和 Windows 上测 Node 22.13.0 与 24,另有安装脚本在 Ubuntu、macOS、Windows 上的真机测试。

Full changelog: CHANGELOG.md · Website & docs: https://broco.yanauto.me/