# @adobe/aio-cli-plugin-app-templates 中文文档

规范地址：https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/

版本：2\.1\.4
npm 元数据更新时间：2026-10-01T01:32:06.504Z
中文译文更新时间：2026-11-05T20:44:31.639Z
软件包许可：Apache-2\.0

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40adobe/aio-cli-plugin-app-templates
原文对照：https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/?lang=original
项目主页：https://github.com/adobe/aio-cli-plugin-app-templates#readme
源码仓库：https://github.com/adobe/aio-cli-plugin-app-templates

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：86.2 kB，17 个文件
- 模块格式：CommonJS
- TypeScript 类型：未声明
- Node.js 要求：\>=20
- 运行依赖：17 个
- 首次发布：2022-06-21T17:36:24.450Z
- 最新版本发布：2026-09-24T09:37:57.968Z
- 近 30 天下载量：24764（2026-10-05 至 2026-11-03，npm 官方下载统计）
- 已发布版本数：31（近 12 个月 5 个）

## 中文简介

发现、安装、卸载、提交和删除 Adobe 应用程序构建模板

## 安装

```sh
npm install @adobe/aio-cli-plugin-app-templates
```

也可以使用：`pnpm add @adobe/aio-cli-plugin-app-templates`、`yarn add @adobe/aio-cli-plugin-app-templates`、`bun add @adobe/aio-cli-plugin-app-templates`

## README

# aio-cli-plugin-app-templates (英语:aio-cli-plugin-app-templates) 相接器

发现、安装、卸载、提交和删除 Adobe 应用程序构建模板

* * *

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io/) [![Version](https://img.shields.io/npm/v/@adobe/aio-cli-plugin-app-templates.svg)](https://npmjs.org/package/@adobe/aio-cli-plugin-app-templates) [![Downloads/week](https://img.shields.io/npm/dw/@adobe/aio-cli-plugin-app-templates.svg)](https://npmjs.org/package/@adobe/aio-cli-plugin-app-templates) ![Node.js CI](https://github.com/adobe/aio-cli-plugin-app-templates/workflows/Node.js%20CI/badge.svg) [![Github Pull Requests](https://img.shields.io/github/issues-pr/adobe/aio-cli-plugin-app-templates.svg)](https://github.com/adobe/aio-cli-plugin-app-templates/pulls) [![Codecov Coverage](https://img.shields.io/codecov/c/github/adobe/aio-cli-plugin-app-templates/main.svg?style=flat-square)](https://codecov.io/gh/adobe/aio-cli-plugin-app-templates/)

-   [aio-cli-plugin-app-templates (英语:aio-cli-plugin-app-templates) 相接器](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/#readme-aio-cli-plugin-app-templates)
-   [使用量](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/#readme-usage)
-   [图标](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/#readme-commands)
-   [捐款](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/#readme-contributing)
-   [许可证发放](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/#readme-licensing)

# 使用量

```sh-session
aio plugins:install @adobe/aio-cli-plugin-app-templates
## OR
aio discover -i
aio aio-cli-plugin-app-templates --help
```

# 图标

-   [`aio templates`](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/#readme-aio-templates)
-   [`aio templates discover`](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/#readme-aio-templates-discover)
-   [`aio templates info`](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/#readme-aio-templates-info)
-   [`aio templates install PATH`](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/#readme-aio-templates-install-path)
-   [`aio templates remove NAME`](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/#readme-aio-templates-remove-name)
-   [`aio templates rollback`](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/#readme-aio-templates-rollback)
-   [`aio templates submit NAME GITHUBREPOURL`](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/#readme-aio-templates-submit-name-githubrepourl)
-   [`aio templates uninstall PACKAGE-NAME`](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/#readme-aio-templates-uninstall-package-name)

## `aio templates`

发现、安装或卸载新模板到现有的 Adobe 开发者 App 构建者 App

```
USAGE
  $ aio templates [-v]

FLAGS
  -v, --verbose  Verbose output

DESCRIPTION
  Discover, install, or uninstall a new template into an existing Adobe Developer App Builder App
```

_参见代码 : [src/commands/templates/index.js 互联网档案馆的存檔,存档日期2013-12-02](https://github.com/adobe/aio-cli-plugin-app-templates/blob/2.1.4/src/commands/templates/index.js)_

## `aio templates discover`

要安装的发现 App 构建器模板

```
USAGE
  $ aio templates discover [-v] [-i] [-f publishDate|names|adobeRecommended] [-o asc|desc]

FLAGS
  -f, --sort-field=<option>  [default: adobeRecommended] which column to sort, use the sort-order flag to specify sort
                             direction
                             <options: publishDate|names|adobeRecommended>
  -i, --interactive          interactive install mode
  -o, --sort-order=<option>  [default: desc] sort order for a column, use the sort-field flag to specify which column to
                             sort
                             <options: asc|desc>
  -v, --verbose              Verbose output

DESCRIPTION
  Discover App Builder templates to install

ALIASES
  $ aio templates disco
```

_参见代码 : [src/命令/平板/发现.js](https://github.com/adobe/aio-cli-plugin-app-templates/blob/2.1.4/src/commands/templates/discover.js)_

## `aio templates info`

列出安装的所有 App 构建器模板

```
USAGE
  $ aio templates info [-v] [-y | -j] [-s]

FLAGS
  -j, --json               output raw json
  -s, --required-services  includes services required by a template in the output
  -v, --verbose            Verbose output
  -y, --yml                output yml

DESCRIPTION
  List all App Builder templates that are installed
```

_参见代码 : [src/commands/templades/info.js 命令/调制解析器](https://github.com/adobe/aio-cli-plugin-app-templates/blob/2.1.4/src/commands/templates/info.js)_

## `aio templates install PATH`

安装 Adobe 开发者 App 构建模板

```
USAGE
  $ aio templates install PATH [-v] [-y] [--install] [--process-install-config] [--template-options <value>]

ARGUMENTS
  PATH  path to the template (npm package name, file path, url). See examples

FLAGS
  -v, --verbose                      Verbose output
  -y, --yes                          Skip questions, and use all default values
      --[no-]install                 [default: true] Run npm installation after files are created
      --[no-]process-install-config  [default: true] Process the template install.yml configuration file, defaults to
                                     true, to skip processing install.yml use --no-process-install-config
      --template-options=<value>     Additional template options, as a base64-encoded json string

DESCRIPTION
  Install an Adobe Developer App Builder template

ALIASES
  $ aio templates i

EXAMPLES
  $ aio templates install https://github.com/org/repo

  $ aio templates install git+https://github.com/org/repo

  $ aio templates install ssh://github.com/org/repo

  $ aio templates install git+ssh://github.com/org/repo

  $ aio templates install file:../relative/path/to/template/folder

  $ aio templates install file:/absolute/path/to/template/folder

  $ aio templates install ../relative/path/to/template/folder

  $ aio templates install /absolute/path/to/template/folder

  $ aio templates install npm-package-name

  $ aio templates install npm-package-name@tagOrVersion

  $ aio templates install @scope/npm-package-name

  $ aio templates install @scope/npm-package-name@tagOrVersion
```

_参见代码 : [src/commands/templates/install.js 互联网档案馆的存檔,存档日期2013-12-02](https://github.com/adobe/aio-cli-plugin-app-templates/blob/2.1.4/src/commands/templates/install.js)_

## `aio templates remove NAME`

从模板注册中删除 Adobe 开发者 App 构建器模板

```
USAGE
  $ aio templates remove NAME [-v]

ARGUMENTS
  NAME  The name of the package implementing the template on npmjs.com

FLAGS
  -v, --verbose  Verbose output

DESCRIPTION
  Remove an Adobe Developer App Builder template from the Template Registry

ALIASES
  $ aio templates rm

EXAMPLES
  $ aio templates remove @adobe/app-builder-template
```

_参见代码 : [src/commands/templades/ remove.js 命令/平板](https://github.com/adobe/aio-cli-plugin-app-templates/blob/2.1.4/src/commands/templates/remove.js)_

## `aio templates rollback`

清除所有已安装的模板

```
USAGE
  $ aio templates rollback [-v] [-i] [-l] [-c]

FLAGS
  -c, --[no-]confirm  confirmation needed for clear (defaults to true)
  -i, --interactive   interactive clear mode
  -l, --list          list templates that will be uninstalled
  -v, --verbose       Verbose output

DESCRIPTION
  Clears all installed templates
```

_参见代码 : [src/命令/平板/回滚.js](https://github.com/adobe/aio-cli-plugin-app-templates/blob/2.1.4/src/commands/templates/rollback.js)_

## `aio templates submit NAME GITHUBREPOURL`

提交 Adobe 开发者 App 构建模板

```
USAGE
  $ aio templates submit NAME GITHUBREPOURL [-v]

ARGUMENTS
  NAME           The name of the package implementing the template on npmjs.com
  GITHUBREPOURL  A link to the Github repository containing the package's source code

FLAGS
  -v, --verbose  Verbose output

DESCRIPTION
  Submit an Adobe Developer App Builder template

ALIASES
  $ aio templates sub

EXAMPLES
  $ aio templates submit @adobe/app-builder-template https://github.com/adobe/app-builder-template
```

_参见代码 : [src/commands/templades/sumit.js 命令/标本/标本](https://github.com/adobe/aio-cli-plugin-app-templates/blob/2.1.4/src/commands/templates/submit.js)_

## `aio templates uninstall PACKAGE-NAME`

解除安装 Adobe 开发者 App 构建器模板

```
USAGE
  $ aio templates uninstall PACKAGE-NAME [-v]

ARGUMENTS
  PACKAGE-NAME  package name of the template

FLAGS
  -v, --verbose  Verbose output

DESCRIPTION
  Uninstall an Adobe Developer App Builder template

ALIASES
  $ aio templates un
```

_参见代码 : [src/命令/平板/uninstall.js](https://github.com/adobe/aio-cli-plugin-app-templates/blob/2.1.4/src/commands/templates/uninstall.js)_

# 捐款

欢迎捐款! 读取 [贡献指南](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/CONTRIBUTING.md) 更多信息.

# 许可证发放

这个项目根据Apache V2许可证获得许可. 见 [自由主义](https://npmcn.com/package/%40adobe/aio-cli-plugin-app-templates/LICENSE) 更多信息.

## 常见问题

### @adobe/aio-cli-plugin-app-templates 是什么？

发现、安装、卸载、提交和删除 Adobe 应用程序构建模板

### 如何安装 @adobe/aio-cli-plugin-app-templates？

在项目目录运行 npm install @adobe/aio-cli-plugin-app-templates，或使用 pnpm add / yarn add / bun add。

### @adobe/aio-cli-plugin-app-templates 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/adobe\_\_aio-cli-plugin-app-templates 是否存在。

### @adobe/aio-cli-plugin-app-templates 支持 ESM 还是 CommonJS？

以 CommonJS 形式发布，可以直接 require\(\)；在 ES Module 项目中也可以用 import 引入（Node\.js 会把 module\.exports 作为默认导出）。

### @adobe/aio-cli-plugin-app-templates 需要什么版本的 Node\.js？

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

### @adobe/aio-cli-plugin-app-templates 可以商用吗？

@adobe/aio-cli-plugin-app-templates 使用 Apache-2\.0 许可。宽松许可：允许商业使用、修改和再分发，并附带明确的专利授权；分发时需保留许可与 NOTICE 文件，修改过的文件要注明改动。以上为概括，不构成法律意见，请以许可原文为准。

### @adobe/aio-cli-plugin-app-templates 的下载量有多少？

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

### @adobe/aio-cli-plugin-app-templates 还在维护吗？

最新版本 2\.1\.4 发布于 2026/09/24（1 个月前）；至今共发布 31 个版本，其中过去 12 个月发布了 5 个；首次发布于 2022/06/22。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

