Automic VaultAutomic Vault

brew

使用 Homebrew, apt 安装 angular-cli

查看 angular-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install angular-cli

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install ng-cjk

Debian stable package indexes · ng-cjk · 来源: deb.debian.org

概览

软件包摘要

CLI tool for Angular

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

尚未找到受保护工具覆盖

没有找到 angular-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
angular.json at the Angular workspace root

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ngcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本22.0.8
管理器更新时间2026-07-24
本地数据OK
上游not checked
检测到的最新版本未检测到

https://angular.dev/cli/

安装元数据

软件包元数据

软件包键brew:angular-cli
版本22.0.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/angular-cli
主页https://angular.dev/cli/
仓库https://github.com/angular/angular-cli
上游文档https://angular.dev/cli
许可证MIT
源码归档https://registry.npmjs.org/@angular/cli/-/cli-22.0.8.tgz
最后更新2026-07-24T17:37:53Z
Pulseupdated
依赖node
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameangular-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt92%

ng-cjk 1.5~beta1-13

Nihongo MicroGnuEmacs with CJK support

sudo apt install ng-cjk
  • Section: editors
  • Architecture: amd64
  • Source Package: ng
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Ng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ng-cjk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

ng-cjk-canna 1.5~beta1-13

Nihongo MicroGnuEmacs with CJK and Canna support

sudo apt install ng-cjk-canna
  • Section: editors
  • Architecture: amd64
  • Source Package: ng
  • 4 依赖
  • installed executable or alias match
  • 匹配方式:Ng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ng-cjk-canna from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

ng-common 1.5~beta1-13

Common files used by ng-* packages

sudo apt install ng-common
  • Section: editors
  • Architecture: all
  • Source Package: ng
  • 3 可选依赖
  • installed executable or alias match
  • 匹配方式:Ng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ng-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

ng-latin 1.5~beta1-13

Nihongo MicroGnuEmacs with Latin support

sudo apt install ng-latin
  • Section: editors
  • Architecture: amd64
  • Source Package: ng
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Ng
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ng-latin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

ng-cjk 1.5~beta1-10

Nihongo MicroGnuEmacs with CJK support

sudo apt install ng-cjk
  • Section: universe/editors
  • Architecture: amd64
  • Source Package: ng
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Ng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ng-cjk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

ng-cjk-canna 1.5~beta1-10

Nihongo MicroGnuEmacs with CJK and Canna support

sudo apt install ng-cjk-canna
  • Section: universe/editors
  • Architecture: amd64
  • Source Package: ng
  • 4 依赖
  • installed executable or alias match
  • 匹配方式:Ng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ng-cjk-canna from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

ng-common 1.5~beta1-10

Common files used by ng-* packages

sudo apt install ng-common
  • Section: universe/editors
  • Architecture: all
  • Source Package: ng
  • 3 可选依赖
  • installed executable or alias match
  • 匹配方式:Ng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ng-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

ng-latin 1.5~beta1-10

Nihongo MicroGnuEmacs with Latin support

sudo apt install ng-latin
  • Section: universe/editors
  • Architecture: amd64
  • Source Package: ng
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Ng
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ng-latin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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