LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ng-version

displays Angular CLI and package versions

TLDR

Show Angular versions
$ ng version
copy
Show version as JSON
$ ng version --json
copy

SYNOPSIS

ng version [options]

DESCRIPTION

ng version displays Angular CLI and package versions, including `@angular/core`, `@angular/cli`, RxJS, TypeScript, Node.js, and the package manager in use. When run outside an Angular workspace it prints only the globally installed CLI information. `v` is accepted as a short alias (`ng v`).The output is useful when reporting bugs, auditing dependency versions, or diagnosing build issues.

PARAMETERS

--json

Output as JSON.
--help
Display help information.

CAVEATS

Part of Angular CLI. Useful for troubleshooting. Shows local project versions.

HISTORY

ng version is part of Angular CLI for displaying version information and dependency details.

SEE ALSO

ng(1), node(1), npm(1)

Copied to clipboard
Kai