# @angular-devkit/schematics-cli

> Angular Schematics - CLI

Latest version **22.1.8** (published 2026-09-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @angular-devkit/schematics-cli
pnpm add @angular-devkit/schematics-cli
yarn add @angular-devkit/schematics-cli
bun add @angular-devkit/schematics-cli
```

Provides the command `schematics`.

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 22.1.8 |
| Published | 2026-09-10 |
| First published | 2018-01-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | ^22.22.3 \|\| ^24.15.0 \|\| >=26.0.0 |
| Dependencies | 3 |
| Unpacked size | 66 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 27023 |
| Author | Angular Authors |
| Maintainers | angular, google-wombot |
| Keywords | Angular CLI, Angular DevKit, angular, blueprints, code generation, devkit, scaffolding, schematics, sdk, template, tooling |

## Links

- npm: https://www.npmjs.com/package/@angular-devkit/schematics-cli
- Repository: https://github.com/angular/angular-cli
- Issues: https://github.com/angular/angular-cli/issues
- npm.io page: https://npm.io/package/@angular-devkit/schematics-cli

## Dependencies (3)

- [@inquirer/prompts](https://npm.io/package/@inquirer/prompts.md) 8.5.2
- [@angular-devkit/core](https://npm.io/package/@angular-devkit/core.md) 22.1.8
- [@angular-devkit/schematics](https://npm.io/package/@angular-devkit/schematics.md) 22.1.8

## Alternatives

- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads
- [@oridune/validator](https://npm.io/package/@oridune/validator.md) — 16 weekly downloads

## Recent versions

- 22.1.8 (latest) — 2026-09-10
- 22.2.0-rc.0 (next) — 2026-09-16
- 21.2.24 (v21-lts) — 2026-09-10
- 20.3.37 (v20-lts) — 2026-09-10
- 19.2.27 (v19-lts) — 2026-06-02
- 18.2.21 (v18-lts) — 2025-09-10
- 17.3.17 (v17-lts) — 2025-04-30
- 16.2.16 (v16-lts) — 2024-09-18
- 15.2.11 (v15-lts) — 2024-03-25
- 14.2.13 (v14-lts) — 2023-10-05
- 13.3.11 (v13-lts) — 2023-03-16
- 12.2.18 (v12-lts) — 2022-07-21
- 0.1102.19 (v11-lts) — 2022-03-31
- 0.1002.4 (v10-lts) — 2021-12-16
- 0.901.15 (v9-lts) — 2021-02-25
- … 998 more at https://npm.io/package/@angular-devkit/schematics-cli/versions

## README

# Schematics CLI

This package contains the executable for running a [Schematic](/packages/angular_devkit/schematics/README.md).

# Usage

```
$ schematics [CollectionName:]SchematicName [options, ...]

By default, if the collection name is not specified, use the internal collection provided
by the Schematics CLI.

Options:
    --debug             Debug mode. This is true by default if the collection is a relative
                        path (in that case, turn off with --debug=false).

    --allow-private     Allow private schematics to be run from the command line. Default to
                        false.

    --dry-run           Do not output anything, but instead just show what actions would be
                        performed. Default to true if debug is also true.

    --force             Force overwriting files that would otherwise be an error.

    --list-schematics   List all schematics from the collection, by name. A collection name
                        should be suffixed by a colon. Example: '@angular-devkit/schematics-cli:'.

    --no-interactive    Disables interactive input prompts.

    --verbose           Show more information.

    --help              Show this message.

Any additional option is passed to the Schematics depending on its schema.
```

# Examples

1. Create a new NPM package that contains a blank schematic.

```sh
$ schematics blank <name>
```

2. Walkthrough example that demonstrates how to build a schematic.

```sh
$ schematics schematic --name <name>
```

---
_Source: https://npm.io/package/@angular-devkit/schematics-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
