@dirigiblelabs/dirigible-cli

中文文档
15.18.0发布于 2026/11/12EPL-2.0ES Module构建来源已验证近 30 天下载 5885

Eclipse Dirigible CLI

原始使用文档
文档目录7 节
  1. 🚀 Overview
  2. 📦 Installation
  3. 1. Global Installation (Recommended for CLI Tools)
  4. 2. Local Project Dependency
  5. 💡 Usage
  6. Check All Commands
  7. 🔗 Project Resources

@dirigiblelabs/dirigible-cli

npm version License

Eclipse Dirigible CLI

A powerful command-line interface tool to streamline the development and management of your Eclipse Dirigible projects.

🚀 Overview

The @dirigiblelabs/dirigible-cli package is the essential external utility for developers working with Eclipse Dirigible. It abstracts the complexity of common development tasks, allowing you to interact with and manage your projects directly from your terminal using a single command: dirigible.

The CLI helps in developing Eclipse Dirigible projects by providing useful commands for typical development workflows.

📦 Installation

There are two primary ways to install and use the Dirigible CLI: globally for system-wide access, or locally as a development dependency for project-specific use.

The CLI JAR is not part of the package: the install downloads the dirigible-cli executable JAR of the same version from Maven Central and verifies its SHA-256 checksum. When the install skips scripts (--ignore-scripts, pnpm) or the download fails, the first run of dirigible downloads it instead.

Install the CLI globally using npm to run the dirigible command directly from any directory in your terminal.

npm install -g @dirigiblelabs/dirigible-cli

2. Local Project Dependency

Install the CLI as a development dependency if you prefer to manage it per-project.

npm install --save-dev @dirigiblelabs/dirigible-cli

When installed locally, you can access the command using npx (e.g., npx dirigible <command>) or by registering scripts in your package.json.

Example of registering scripts:

// package.json
{
  ...
  "scripts": {
    "start": "dirigible start",
    "start:dev": "dirigible start --watch"
  }
}

You can then execute the script using:

npm run start

💡 Usage

The CLI is invoked using the single command dirigible.

Check All Commands

To see a comprehensive list of all supported commands, arguments, and options, execute the built-in help command:

dirigible help

This will output detailed information on how to use each feature of the CLI.

🔗 Project Resources

For comprehensive documentation, API references, and to learn more about the Eclipse Dirigible platform, please visit the official channels:

版本与发布记录

@dirigiblelabs/dirigible-cli 共发布 195 个版本,首次发布于 2025/10/20;过去 12 个月发布了 185 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
15.18.0latest2026/11/12今天
15.17.02026/11/101 天前
15.16.02026/11/084 天前
15.15.02026/11/047 天前
15.14.02026/11/048 天前
15.13.02026/11/039 天前

关于 @dirigiblelabs/dirigible-cli 的常见问题

@dirigiblelabs/dirigible-cli 是什么?

Eclipse Dirigible CLI

如何安装 @dirigiblelabs/dirigible-cli?

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

@dirigiblelabs/dirigible-cli 支持 TypeScript 吗?

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

@dirigiblelabs/dirigible-cli 支持 ESM 还是 CommonJS?

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

@dirigiblelabs/dirigible-cli 可以商用吗?

@dirigiblelabs/dirigible-cli 使用 EPL-2.0 许可。声明的许可为 EPL-2.0,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@dirigiblelabs/dirigible-cli 的下载量有多少?

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

@dirigiblelabs/dirigible-cli 还在维护吗?

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