mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: explicitly specify a version in the CLI install command (#46020)
Update the CLI install command in the CLI overview page to explicitly specify a version. This ensures that the version installed is appropriate for the version of the docs (e.g. installing CLI v12.x when following the v12 docs) and it consistent with the `setup-local` guide. PR Close #46020
This commit is contained in:
committed by
Jessica Janiuk
parent
c3659dd46a
commit
f901bd2458
@@ -10,7 +10,7 @@ Install the CLI using the `npm` package manager:
|
||||
|
||||
<code-example format="shell" language="shell">
|
||||
|
||||
npm install -g @angular/cli
|
||||
npm install -g @angular/cli<aio-angular-dist-tag class="pln"></aio-angular-dist-tag>
|
||||
|
||||
</code-example>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user