Skip to content

Installation tutorial on older documents is installing the latest version of @angular/cli #39821

@raveenita

Description

@raveenita

📚 Docs or angular.io bug report

Description

I was taking a look at the old documentation and I noticed that the installation command was the same used to install the latest version of @angular/cli

npm i @angular/cli@ -g

I supposed that the correct command would be something like:

npm i @angular/cli@^8 -g

🔬 Minimal Reproduction

What's the affected URL?**

https://v8.angular.io/guide/setup-local

Reproduction Steps**

Expected vs Actual Behavior**

Expected:

Package Version

@angular-devkit/architect 0.803.29
@angular-devkit/core 8.3.29
@angular-devkit/schematics 8.3.29
@schematics/angular 8.3.29
@schematics/update 0.803.29
rxjs 6.4.0

Actual behavior:

@angular-devkit/architect 0.1100.2 (cli-only)
@angular-devkit/core 11.0.2 (cli-only)
@angular-devkit/schematics 11.0.2 (cli-only)
@schematics/angular 11.0.2 (cli-only)
@schematics/update 0.1100.2 (cli-only)

📷Screenshot

image

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functions

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions