@abloatai/cli

中文文档
0.67.3发布于 2026/11/07Apache-2.0ESM + CJS构建来源已验证近 30 天下载 3684

The ablo command line: set up Ablo, connect your database, and push your schema from the terminal.

原始使用文档

@abloatai/cli

The ablo command line: set up Ablo, connect your database, and push your schema from the terminal.

npx ablo init      # scaffold ablo/ with a starter schema
npx ablo login     # authorize in your browser, set up your keys
npx ablo connect   # connect your database
npx ablo push      # upload your schema; your rows stay in your database
npx ablo dev       # prepare this Git branch, push, then watch
npx ablo status    # see what your key acts on and whether writes will work

Run npx ablo --help for the full command list, or npx ablo docs to read the guides.

Installing

npx ablo works with nothing installed: it ships inside @abloatai/ablo, which resolves this package and fetches it on first run. Add it to a project for pinned, offline runs:

npm i -D @abloatai/cli

What it does

The CLI drives your Ablo project against the @abloatai/ablo SDK. Your schema lives in ablo/; dev gives each Git branch an isolated Ablo branch and temporary credential, while push is the lower-level one-shot schema command. Your rows stay in your own database.

版本与发布记录

@abloatai/cli 共发布 61 个版本,首次发布于 2026/07/24;过去 12 个月发布了 61 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.67.3latest2026/11/071 天前
0.67.22026/11/025 天前
0.67.12026/10/2711 天前
0.67.02026/10/2612 天前
0.66.172026/10/2216 天前
0.66.162026/10/1820 天前

关于 @abloatai/cli 的常见问题

@abloatai/cli 是什么?

The ablo command line: set up Ablo, connect your database, and push your schema from the terminal.

如何安装 @abloatai/cli?

在项目目录运行 npm install @abloatai/cli,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 ablo,可以用 npx ablo 直接运行。

@abloatai/cli 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/abloatai__cli 是否存在。

@abloatai/cli 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@abloatai/cli 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=24.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@abloatai/cli 可以商用吗?

@abloatai/cli 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@abloatai/cli 的下载量有多少?

根据 npm 官方下载统计,@abloatai/cli 在 2026/10/05 – 2026/11/03 这 30 天内被下载 3,684 次,日均约 123 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@abloatai/cli 还在维护吗?

最新版本 0.67.3 发布于 2026/11/07(1 天前);至今共发布 61 个版本,其中过去 12 个月发布了 61 个;首次发布于 2026/07/24。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。