# 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](https://git-scm.com/) installed and available in your system path

## Usage

The package is compatible with the [npm init command](https://docs.npmjs.com/cli/v8/commands/npm-init).

To get started, run `npm init @arcgis`, and you will be immediately prompted to initialize a new ArcGIS web application, or run using [npx](https://docs.npmjs.com/cli/v8/commands/npx):

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

## CLI options

```bash
  -n, --name <name>          Name of the project
  -t, --template <template>  Template to use (react, vite, cdn, vue, angular, etc.)
```

## Resources

- [ArcGIS blog](https://blogs.esri.com/esri/arcgis/tag/javascript/)
- [System Requirements](https://developers.arcgis.com/javascript/latest/system-requirements/)
- [Terms of Use](https://www.esri.com/en-us/legal/terms/product-specific-scope-of-use)
- [Licensing](https://developers.arcgis.com/javascript/latest/licensing/)
- [Working with `next` versions](https://github.com/Esri/feedback-js-api-next/blob/main/README.md)

## Issues

- General questions about using this package or the ArcGIS Maps SDK for JavaScript? See the [Esri developer community](https://community.esri.com/t5/arcgis-api-for-javascript/ct-p/arcgis-api-for-javascript).
- [Technical support](https://support.esri.com/).

## 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.1/LICENSE.txt.
For third party notices, see https://js.arcgis.com/5.1/third-party-notices.txt.
