@arcgis/create

中文文档
5.2.2发布于 2026/11/11SEE LICENSE IN LICENSE.mdES Module零依赖近 30 天下载 1.1万

The ArcGIS Maps SDK for JavaScript provides this CLI tool to streamline the process of creating a new web mapping application.

原始使用文档
文档目录6 节
  1. Requirements
  2. Usage
  3. CLI options
  4. Resources
  5. Issues
  6. License

ArcGIS Maps SDK for JavaScript - Create CLI

The ArcGIS Maps SDK for JavaScript provides this CLI tool to streamline the process of creating a new web mapping application.

Requirements

  • Node.js v22.21.0 or higher
  • git installed and available in your system path

Usage

The package is compatible with the npm init command.

To get started, run npm init @arcgis, and you will be immediately prompted to initialize a new ArcGIS web application, or run using npx:

npx @arcgis/create
# Initializes a new React application named "my-arcgis-app"
npx @arcgis/create -n my-arcgis-app -t react

CLI options

  -n, --name <name>          Name of the project
  -t, --template <template>  Template to use (react, vite, cdn, vue, angular, etc.)
  -h, --help                 Display help for the CLI

Resources

Issues

License

This package is licensed under the terms described in the LICENSE.md file, located in the root of the package, and at https://js.arcgis.com/5.2/LICENSE.txt. For third party notices, see https://js.arcgis.com/5.2/third-party-notices.txt.

版本与发布记录

@arcgis/create 共发布 1,325 个版本,首次发布于 2024/03/21;过去 12 个月发布了 511 个版本。

版本发布日期距今
5.2.2latest2026/11/11今天
6.0.0-next.34next2026/11/10今天
6.0.0-next.332026/11/091 天前
6.0.0-next.322026/11/082 天前
6.0.0-next.312026/11/073 天前
5.2.12026/11/074 天前

其他发布通道:rc → 5.2.0-next.170,next → 6.0.0-next.34。

关于 @arcgis/create 的常见问题

@arcgis/create 是什么?

The ArcGIS Maps SDK for JavaScript provides this CLI tool to streamline the process of creating a new web mapping application.

如何安装 @arcgis/create?

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

@arcgis/create 支持 TypeScript 吗?

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

@arcgis/create 支持 ESM 还是 CommonJS?

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

@arcgis/create 可以商用吗?

@arcgis/create 使用 SEE LICENSE IN LICENSE.md 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@arcgis/create 的下载量有多少?

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

@arcgis/create 还在维护吗?

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