Angular Schematics - CLI
The "@angular-devkit/schematics-cli" is an essential npm package designed for developers working with the Angular framework. It provides a powerful command-line interface for creating, modifying, and maintaining application codebases with precision and ease. This tool is pivotal for streamlining project customizations and automations, allowing developers to scaffold new projects, generate components, and manage configurations without manual file handling. By leveraging this CLI, developers can ensure consistency across projects and significantly reduce the potential for human error, making the development process faster and more efficient.
When developers use the command "npm install @angular-devkit/schematics-cli", they equip their development environment with a robust toolkit that enhances Angular application scalability and maintainability. This installation grants access to a suite of schematic templates and utilities that facilitate code generation and transformation tailored to specific project needs. The package not only simplifies the initial project setup but also supports ongoing development tasks, such as adding new features or integrating third-party libraries, thus optimizing workflow and productivity in Angular development.
The benefits of using "@angular-devkit/schematics-cli" extend beyond mere code generation. This node module supports custom schematic creation, which developers can use to define their own templates and rules for code manipulation. This feature allows teams to enforce specific coding standards and architectural patterns, promoting code consistency and quality across large projects and developer teams. As a result, "@angular-devkit/schematics-cli" is not just a tool but a fundamental part of a modern Angular development strategy that aims at building scalable, maintainable, and high-quality applications.
Core dependencies of this npm package and its dev dependencies.
@ampproject/remapping, @angular/animations, @angular/bazel, @angular/build-tooling, @angular/cdk, @angular/common, @angular/compiler, @angular/compiler-cli, @angular/core, @angular/forms, @angular/localize, @angular/material, @angular/ng-dev, @angular/platform-browser, @angular/platform-browser-dynamic, @angular/platform-server, @angular/router, @angular/service-worker, @babel/core, @babel/generator, @babel/helper-annotate-as-pure, @babel/helper-split-export-declaration, @babel/plugin-transform-async-generator-functions, @babel/plugin-transform-async-to-generator, @babel/plugin-transform-runtime, @babel/preset-env, @babel/runtime, @bazel/bazelisk, @bazel/buildifier, @bazel/concatjs, @bazel/esbuild, @bazel/jasmine, @discoveryjs/json-ext, @rollup/plugin-commonjs, @rollup/plugin-node-resolve, @types/babel__core, @types/browser-sync, @types/browserslist, @types/express, @types/http-proxy, @types/ini, @types/inquirer, @types/jasmine, @types/karma, @types/less, @types/license-checker, @types/loader-utils, @types/lodash, @types/node, @types/npm-package-arg, @types/pacote, @types/picomatch, @types/progress, @types/resolve, @types/semver, @types/shelljs, @types/spdx-satisfies, @types/tar, @types/watchpack, @types/yargs, @types/yargs-parser, @types/yarnpkg__lockfile, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, @vitejs/plugin-basic-ssl, @web/test-runner, @yarnpkg/lockfile, ajv, ajv-formats, ansi-colors, autoprefixer, babel-loader, babel-plugin-istanbul, browser-sync, browserslist, buffer, chokidar, copy-webpack-plugin, critters, css-loader, debug, esbuild, esbuild-wasm, eslint, eslint-config-prettier, eslint-plugin-header, eslint-plugin-import, express, fast-glob, http-proxy, http-proxy-middleware, https-proxy-agent, husky, ini, inquirer, jasmine, jasmine-core, jasmine-spec-reporter, jsonc-parser, karma, karma-chrome-launcher, karma-coverage, karma-jasmine, karma-jasmine-html-reporter, karma-source-map-support, less, less-loader, license-checker, license-webpack-plugin, lmdb, loader-utils, lodash, magic-string, mini-css-extract-plugin, mrmime, ng-packagr, npm, npm-package-arg, open, ora, pacote, parse5-html-rewriting-stream, patch-package, picomatch, piscina, postcss, postcss-loader, prettier, protractor, puppeteer, quicktype-core, resolve-url-loader, rollup, rollup-plugin-sourcemaps, rxjs, sass, sass-loader, sauce-connect-proxy, semver, shelljs, source-map, source-map-loader, source-map-support, spdx-satisfies, symbol-observable, tar, terser, tree-kill, ts-node, tslib, typescript, undici, verdaccio, verdaccio-auth-memory, vite, watchpack, webpack, webpack-dev-middleware, webpack-dev-server, webpack-merge, webpack-subresource-integrity, yargs, yargs-parser, zone.js
A README file for the @angular-devkit/schematics-cli code repository. View Code
The Angular CLI is a command-line interface tool that you use to initialize, develop, scaffold,
and maintain Angular applications directly from a command shell.
Contributing Guidelines
·
Submit an Issue
·
Blog
Get started with Angular CLI, learn the fundamentals and explore advanced topics on our documentation website.
Install the Angular CLI globally:
npm install -g @angular/cli
Create workspace:
ng new [PROJECT NAME]
Run the application:
cd [PROJECT NAME]
ng serve
Angular is cross-platform, fast, scalable, has incredible tooling, and is loved by millions.
Learn about the latest improvements.
Check out our upgrade guide to find out the best way to upgrade your project.
Read through our contributing guidelines to learn about our submission process, coding rules and more.
Want to report a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues labeled as help wanted or good first issue.
Help us keep Angular open and inclusive. Please read and follow our Code of Conduct.
Read through our developer guide to learn about how to build and test the Angular CLI locally.
Join the conversation and help the community.
This is a monorepo which contains many tools and packages:
Project | Package | Version | Links |
---|---|---|---|
Angular Build System | @angular/build |
||
Angular CLI | @angular/cli |
||
Architect CLI | @angular-devkit/architect-cli |
||
Schematics CLI | @angular-devkit/schematics-cli |
Project | Package | Version | Links |
---|---|---|---|
Angular SSR | @angular/ssr |
||
Architect | @angular-devkit/architect |
||
Build Angular | @angular-devkit/build-angular |
||
Build Webpack | @angular-devkit/build-webpack |
||
Core | @angular-devkit/core |
||
Schematics | @angular-devkit/schematics |
Project | Package | Version | Links |
---|---|---|---|
Angular Create | @angular/create |
||
Webpack Angular Plugin | @ngtools/webpack |
Project | Package | Version | Links |
---|---|---|---|
Angular PWA Schematics | @angular/pwa |
||
Angular Schematics | @schematics/angular |
Love Angular CLI? Give our repo a star :star: :arrow_up:.