# Install angular-cli with Homebrew, apt

CLI tool for Angular. Version 22.0.5 via Homebrew; verified 2026-07-02.

## Install

```sh
sudo av install brew:angular-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install angular-cli
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install ng-cjk
```

  Evidence: Debian stable package indexes: ng-cjk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Package facts

- **Package key:** brew:angular-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/angular-cli>
- **Version:** 22.0.5
- **Source summary:** CLI tool for Angular
- **Homepage:** <https://angular.dev/cli/>
- **Repository:** <https://github.com/angular/angular-cli>
- **Upstream docs:** <https://angular.dev/cli>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/@angular/cli/-/cli-22.0.5.tgz>
- **Last updated:** 2026-07-02T12:13:45Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ng (cli)
- ng (alias)

## Dependencies

- node

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 22.0.5
- Package-manager updated: 2026-07-02
- Local data: ok
- Upstream repository: https://angular.dev/cli/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Angular CLI is the official command-line interface for Angular. It creates workspaces, scaffolds application code, runs development servers, builds production bundles, applies generators, and anchors many Angular project workflows around the `ng` command.

### Project history

The official GitHub repository was created in 2015, during the Angular 2 development period. The CLI emerged as Angular's answer to a common framework problem: developers needed a consistent way to create, build, test, and maintain applications without hand-assembling webpack, TypeScript, test runners, and project layout conventions.

Angular's current documentation describes the CLI as the tool used to initialize, develop, scaffold, and maintain Angular applications from a command shell. The repository README describes the monorepo packages around the CLI, Angular build tooling, DevKit, schematics, architect, and related build packages.

Over time the CLI became more than a project generator. It absorbed workspace configuration, builders, schematics, migrations, update workflows, and package-specific release channels, making it one of the main distribution points for Angular's build-system decisions.

### Adoption history

Angular CLI adoption followed Angular adoption: teams standardized on `ng new`, `ng serve`, `ng build`, `ng test`, and `ng update` because those commands matched official documentation and release tooling. The project is distributed primarily as the npm package `@angular/cli`, while Homebrew packages it for users who install developer tools through system package managers.

The repo's package table shows Angular CLI sitting beside build, DevKit, schematics, SSR, and architect packages. That packaging structure matters because many ecosystem tools integrate with Angular not by shelling out alone, but by using the same builders and schematics machinery that the CLI exposes.

### How it is used

The standard workflow is to install `@angular/cli`, create a workspace with `ng new`, run a local app with `ng serve`, generate code with `ng generate`, build with `ng build`, and update with `ng update`. Workspace-wide defaults and project targets live in `angular.json` at the workspace root.

Package users care about major-version alignment: Angular CLI releases track Angular framework majors, and projects usually keep the CLI, Angular packages, TypeScript support, and build tooling within supported version ranges.

### Why package nerds care

Angular CLI is a large framework CLI that package managers mostly wrap rather than reinvent. Its real upstream distribution is npm, but Homebrew users still expect `ng` to appear like any other command-line developer tool.

It is also an example of a CLI that is both executable and policy: installing it brings official assumptions about workspace layout, builders, code generation, migrations, and release cadence.

### Timeline

- 2015: The angular-cli GitHub repository is created.
- 2016: Angular 2 reaches general availability, with CLI tooling becoming central to the framework workflow.
- 2017: Angular 4 era documentation and releases continue the CLI as the standard project tooling surface.
- 2020s: Angular CLI releases remain aligned with Angular major versions and the Angular DevKit ecosystem.
- 2026: GitHub releases show active Angular CLI 20, 21, and 22 release trains.

### Related projects

- Angular framework packages are the main runtime companion to the CLI.
- Angular DevKit, schematics, architect, build-angular, and Angular SSR are sibling packages in the same official CLI repository.
- Node.js and npm are prerequisites for the default installation path documented by the repository README.

### Sources

- <https://angular.dev/reference/configs/workspace-config>
- <https://angular.dev/tools/cli>
- <https://api.github.com/repos/angular/angular-cli>
- <https://api.github.com/repos/angular/angular-cli/releases>
- <https://raw.githubusercontent.com/angular/angular-cli/main/README.md>
- source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for angular-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: angular.json at the Angular workspace root
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** angular-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - ng-cjk - 1.5~beta1-13: installed executable or alias match | Debian stable package indexes: ng-cjk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Nihongo MicroGnuEmacs with CJK support
- Debian apt - ng-cjk-canna - 1.5~beta1-13: installed executable or alias match | Debian stable package indexes: ng-cjk-canna from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Nihongo MicroGnuEmacs with CJK and Canna support
- Debian apt - ng-common - 1.5~beta1-13: installed executable or alias match | Debian stable package indexes: ng-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Common files used by ng-* packages
- Debian apt - ng-latin - 1.5~beta1-13: installed executable or alias match | Debian stable package indexes: ng-latin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Nihongo MicroGnuEmacs with Latin support
- Ubuntu apt - ng-cjk - 1.5~beta1-10: installed executable or alias match | Ubuntu 24.04 LTS package indexes: ng-cjk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Nihongo MicroGnuEmacs with CJK support
- Ubuntu apt - ng-cjk-canna - 1.5~beta1-10: installed executable or alias match | Ubuntu 24.04 LTS package indexes: ng-cjk-canna from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Nihongo MicroGnuEmacs with CJK and Canna support
- Ubuntu apt - ng-common - 1.5~beta1-10: installed executable or alias match | Ubuntu 24.04 LTS package indexes: ng-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Common files used by ng-* packages
- Ubuntu apt - ng-latin - 1.5~beta1-10: installed executable or alias match | Ubuntu 24.04 LTS package indexes: ng-latin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Nihongo MicroGnuEmacs with Latin support


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [gwt](https://www.automicvault.com/pkg/brew/gwt/) - Shares av.db curated category or tags: cli, developer-tools, javascript, web-development.
- [nuxi](https://www.automicvault.com/pkg/brew/nuxi/) - Shares av.db curated category or tags: cli, developer-tools, javascript, web-development.
- [vite](https://www.automicvault.com/pkg/brew/vite/) - Shares av.db curated category or tags: cli, developer-tools, javascript, web-development.
- [vite-plus](https://www.automicvault.com/pkg/brew/vite-plus/) - Shares av.db curated category or tags: cli, developer-tools, javascript, web-development.
- [css-crush](https://www.automicvault.com/pkg/brew/css-crush/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [gatsby-cli](https://www.automicvault.com/pkg/brew/gatsby-cli/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [js-beautify](https://www.automicvault.com/pkg/brew/js-beautify/) - Shares av.db curated category or tags: cli, developer-tools, javascript, web-development.
- [livereload](https://www.automicvault.com/pkg/brew/livereload/) - Shares av.db curated category or tags: cli, developer-tools, web-development.

## Combined YAML source

View the package source record on GitHub. [combined/angular-cli.yml](https://github.com/automic-vault/db/blob/main/combined/angular-cli.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
