Skip to content

Commit 58b33dc

Browse files
JeevanMaheshammalerba
authored andcommitted
docs: extend Angular CLI installation instructions for pnpm, yarn, and bun (angular#59832)
PR Close angular#59832
1 parent ff46280 commit 58b33dc

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

adev/src/content/introduction/installation.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,29 @@ The following guide will walk you through setting up a local Angular project.
3232

3333
Open a terminal (if you're using [Visual Studio Code](https://code.visualstudio.com/), you can open an [integrated terminal](https://code.visualstudio.com/docs/editor/integrated-terminal)) and run the following command:
3434

35-
<docs-code language="shell">
36-
37-
npm install -g @angular/cli
38-
39-
</docs-code>
35+
<docs-code-multifile>
36+
<docs-code
37+
header="npm"
38+
>
39+
npm install -g @angular/cli
40+
</docs-code>
41+
<docs-code
42+
header="pnpm"
43+
>
44+
pnpm install -g @angular/cli
45+
</docs-code>
46+
<docs-code
47+
header="yarn"
48+
>
49+
yarn global add @angular/cli
50+
</docs-code>
51+
<docs-code
52+
header="bun"
53+
>
54+
bun install -g @angular/cli
55+
</docs-code>
56+
57+
</docs-code-multifile>
4058

4159
If you are having issues running this command in Windows or Unix, check out the [CLI docs](/tools/cli/setup-local#install-the-angular-cli) for more info.
4260

0 commit comments

Comments
 (0)