@claudiolabs/claudin

中文文档
1.1.51发布于 2026/11/04MIT零依赖构建来源已验证近 30 天下载 6220

Claudin — Claude Code opened to any LLM (OpenAI, Gemini, DeepSeek, Ollama, and 200+ models)

原始使用文档
文档目录7 节
  1. Install
  2. Documentation
  3. Build from Source
  4. Dev binary ( claudindev )
  5. Screenshot
  6. Sponsor
  7. License

Claudin

Node.js CI release License Issues Pull requests Security policy

One coding agent CLI. Any LLM.

Claudin brings a terminal-first agentic workflow — bash, file tools, grep, glob, agents, MCP, slash commands, streaming — to any model provider. Switch between OpenAI, Gemini, DeepSeek, Ollama, Mistral, GitHub Copilot, Bedrock, Vertex, and 200+ OpenAI-compatible endpoints without changing your workflow.


Install

Install the native binary for your platform:

curl -fsSL https://claudiolabs.ai/install.sh | sh

Or install through npm (needs Node.js 22.19+):

npm install -g @claudiolabs/claudin@latest

On Arch Linux (and Omarchy), there is a pacman package. It installs the same release binary — nothing is compiled from source:

git clone https://github.com/claudio-labs/claudin
cd claudin/packaging/aur/claudin-bin && makepkg -si

It is not on the AUR yet — new AUR account registration has been closed since June 2026 — so pacman -Syu will not update it. Re-run makepkg -si after a release, or stay on npm until claudin-bin is published.

If you already have Claudin from npm or Bun, remove it first so the two do not fight over $PATH: npm rm -g @claudiolabs/claudin.

Documentation

Full documentation lives at claudiolabs.ai/docs.

In this repository: docs/playbook.md — a day-to-day guide to running Claudin against a local model with Ollama.

Run /help inside the app for the full command list.

Build from Source

bun install && bun run build && node dist/cli.mjs

Dev binary (claudindev)

Local checkouts only produce a dev binary — the stable release is never built locally, it comes from npm. To work with both:

npm install -g @claudiolabs/claudin@latest   # stable release → `claudin`
bun run link:dev                              # local build    → `claudindev`

link:dev symlinks <repo>/bin/claudin as claudindev in ~/.bun/bin or ~/.local/bin, so claudin stays pinned to the published release while claudindev picks up every bun run build from your checkout.

See CONTRIBUTING.md for the build system, feature flags, and pre-PR checks.

Screenshot

Launching Claudin shows the active provider, model, and effort in the banner and in the footer, so you can tell at a glance which build and profile you are on:

The Claudin welcome banner and footer, showing provider, model, effort, working directory, and git branch

Sponsor

Claudin is independent and free, and stays that way. If it saves you time, you can tip the project over Lightning at claudiolabs.ai/sponsor — entirely optional, and it unlocks nothing.

License

Released under the MIT License. Claudin is an independent project and is not affiliated with or endorsed by any model provider.

版本与发布记录

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

版本发布日期距今
1.1.51latest2026/11/046 天前
1.1.502026/11/018 天前
1.1.492026/10/2615 天前
1.1.482026/10/2317 天前
1.1.462026/10/1823 天前
1.1.452026/10/1625 天前

关于 @claudiolabs/claudin 的常见问题

@claudiolabs/claudin 是什么?

Claudin — Claude Code opened to any LLM (OpenAI, Gemini, DeepSeek, Ollama, and 200+ models)

如何安装 @claudiolabs/claudin?

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

@claudiolabs/claudin 支持 TypeScript 吗?

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

@claudiolabs/claudin 需要什么版本的 Node.js?

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

@claudiolabs/claudin 可以商用吗?

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

@claudiolabs/claudin 的下载量有多少?

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

@claudiolabs/claudin 还在维护吗?

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