@closedsi/closiro

中文文档
2.47.0发布于 2026/11/07MIT零依赖近 30 天下载 3313

Closiro (formerly Snailer) AI coding agent CLI. Installs the native binary from GitHub Releases.

原始使用文档
文档目录8 节
  1. Install
  2. Setup
  3. Usage
  4. Supported platforms
  5. Offline or restricted networks
  6. Troubleshooting
  7. License
  8. Links

@closedsi/closiro

Closiro (formerly Snailer): an AI coding agent for your terminal

npm version

This package installs the Closiro CLI. It downloads the native binary for your platform from GitHub Releases, checks it against the release checksums, and puts it on your PATH.

Install

npm install -g @closedsi/closiro

Or run it without installing:

npx @closedsi/closiro@latest --help

The package installs the closiro command. It does not install a snailer command, so it never collides with an older Snailer install.

Moving from @snailer-team/snailer? Uninstall it and use closiro from now on: npm uninstall -g @snailer-team/snailer && npm install -g @closedsi/closiro

Setup

Set an API key for the model provider you use:

export CLAUDE_API_KEY="your-api-key"   # Claude (recommended)
export OPENAI_API_KEY="your-api-key"   # OpenAI
export XAI_API_KEY="your-api-key"      # xAI

Usage

closiro                                   # interactive mode
closiro --prompt "Add error handling to the API module"   # one-shot
closiro --help

Supported platforms

OSArchitecture
macOSApple Silicon (arm64), Intel (x64)
Linuxx64
Windowsx64

Linux arm64 has no prebuilt binary yet; the install stops with a message listing the supported platforms.

Offline or restricted networks

Skip the download during install:

CLOSIRO_SKIP_POSTINSTALL=1 npm install -g @closedsi/closiro

Then download the archive for your platform from Releases, and extract the closiro binary (snailer for releases before v2.38.0) into the package's bin/ directory ($(npm root -g)/@closedsi/closiro/bin/).

CLOSIRO_REPO=owner/name downloads from a fork or mirror instead. The older SNAILER_* variable names still work.

Troubleshooting

  • Download fails: the error shows the exact URL. Download it manually as described above.
  • closiro: command not found: make sure npm's global bin directory is on your PATH (npm prefix -g).
  • Checksum mismatch: the download was corrupted or altered. Run the install again; if it keeps failing, open an issue.

License

The installer in this package is MIT licensed. The Closiro binary is covered by its own End User License Agreement, included in this package as EULA.md. By installing, you agree to both.

版本与发布记录

@closedsi/closiro 共发布 16 个版本,首次发布于 2026/10/11;过去 12 个月发布了 16 个版本。

版本发布日期距今
2.47.0latest2026/11/073 天前
2.46.12026/11/037 天前
2.46.02026/11/027 天前
2.45.12026/10/3110 天前
2.45.02026/10/3110 天前
2.44.02026/10/3110 天前

关于 @closedsi/closiro 的常见问题

@closedsi/closiro 是什么?

Closiro (formerly Snailer) AI coding agent CLI. Installs the native binary from GitHub Releases.

如何安装 @closedsi/closiro?

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

@closedsi/closiro 支持 TypeScript 吗?

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

@closedsi/closiro 需要什么版本的 Node.js?

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

@closedsi/closiro 可以商用吗?

@closedsi/closiro 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@closedsi/closiro 的下载量有多少?

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

@closedsi/closiro 还在维护吗?

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