@controlplane/cli

中文文档
3.18.0发布于 2026/10/07近 30 天下载 14.5万

Control Plane Corporation CLI

原始使用文档
文档目录7 节
  1. Description
  2. Installation
  3. Autocompletions
  4. Debug
  5. Enable verbose output to stderr
  6. Show all HTTP communications
  7. Release Notes

Description

The Control Plane CLI is used to perform actions against the Control Plane API. Visit our documentation for more information on how to use the Control Plane CLI.

Installation

Globally install the Control Plane CLI using npm

npm i -g @controlplane/cli

Autocompletions

After installing, activate autocompletions

cpln misc install-completion

Debug

If something went wrong, add the following options to your cpln command

Enable verbose output to stderr

--verbose, -v

Show all HTTP communications

--debug, -d

Release Notes

See documentation for release notes.

版本与发布记录

@controlplane/cli 共发布 140 个版本,首次发布于 2020/12/16;过去 12 个月发布了 23 个版本。

版本发布日期距今
3.18.0latest2026/10/071 个月前
3.17.22026/09/281 个月前
3.17.12026/09/181 个月前
3.17.02026/09/151 个月前
3.16.02026/08/122 个月前
3.15.02026/07/273 个月前

关于 @controlplane/cli 的常见问题

@controlplane/cli 是什么?

Control Plane Corporation CLI

如何安装 @controlplane/cli?

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

@controlplane/cli 支持 TypeScript 吗?

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

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

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

@controlplane/cli 可以商用吗?

@controlplane/cli 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

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

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

@controlplane/cli 还在维护吗?

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