@getmonoceros/workbench

中文文档
1.77.0发布于 2026/11/10Apache-2.0ES Module构建来源已验证近 30 天下载 4611

Monoceros workbench CLI — local, reproducible dev containers with first-class AI coding tooling.

原始使用文档
文档目录4 节
  1. Requirements
  2. Installation
  3. Getting started
  4. License

@getmonoceros/workbench

CLI for Monoceros — a workbench for local, reproducible dev containers with AI coding tooling as first-class citizens (Claude Code, Atlassian CLIs, GitHub CLI; more to come).

Requirements

  • Docker — reachable as a daemon, not just installed
  • Node ≥ 20 (with npm)

If you don't have one of these, you can't install Monoceros. The install scripts (install.sh, install.ps1) in the repo root check this up front and print platform-specific guidance.

Installation

# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/getmonoceros/workbench/main/installer/install.sh | bash
# Windows (PowerShell)
irm https://raw.githubusercontent.com/getmonoceros/workbench/main/installer/install.ps1 | iex

The script checks Docker + Node, installs the package globally via npm install -g, and sets up shell completion for your shell.

Getting started

monoceros init hello --with-languages=node --with-features=claude
# Add tokens and settings to ~/.monoceros/monoceros-config.env
monoceros apply hello
monoceros shell hello

Set up tab completion once:

monoceros completion zsh > ~/.oh-my-zsh/completions/_monoceros   # zsh
monoceros completion bash > ~/.bash_completion.d/monoceros       # bash

Full command reference at getmonoceros.build/docs.

License

Apache-2.0 - see LICENSE.

版本与发布记录

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

版本发布日期距今
1.77.0latest2026/11/105 天前
1.76.12026/11/097 天前
1.76.02026/11/088 天前
1.75.32026/11/0412 天前
1.75.42026/11/0412 天前
1.75.22026/10/3016 天前

关于 @getmonoceros/workbench 的常见问题

@getmonoceros/workbench 是什么?

Monoceros workbench CLI — local, reproducible dev containers with first-class AI coding tooling.

如何安装 @getmonoceros/workbench?

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

@getmonoceros/workbench 支持 TypeScript 吗?

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

@getmonoceros/workbench 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@getmonoceros/workbench 需要什么版本的 Node.js?

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

@getmonoceros/workbench 可以商用吗?

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

@getmonoceros/workbench 的下载量有多少?

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

@getmonoceros/workbench 还在维护吗?

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