docs: add shell language to CLI installation examples

Added `language="shell"` to installation command examples to display
the shell prompt `$` icon consistently across npm, pnpm, yarn, and bun
code blocks.

(cherry picked from commit 27d54654e3)
This commit is contained in:
Shuaib Hasan Akib 2025-11-09 11:03:42 +06:00 committed by Andrew Kushnir
parent 77ca0d7534
commit b20bf5dc70

View file

@ -40,21 +40,25 @@ To install the Angular CLI, open a terminal window and run the following command
<docs-code-multifile>
<docs-code
header="npm"
language="shell"
>
npm install -g @angular/cli
</docs-code>
<docs-code
header="pnpm"
language="shell"
>
pnpm install -g @angular/cli
</docs-code>
<docs-code
header="yarn"
language="shell"
>
yarn global add @angular/cli
</docs-code>
<docs-code
header="bun"
language="shell"
>
bun install -g @angular/cli
</docs-code>
@ -82,21 +86,25 @@ Run with `sudo` to execute the command as the root user and enter your password
<docs-code-multifile>
<docs-code
header="npm"
language="shell"
>
sudo npm install -g @angular/cli
</docs-code>
<docs-code
header="pnpm"
language="shell"
>
sudo pnpm install -g @angular/cli
</docs-code>
<docs-code
header="yarn"
language="shell"
>
sudo yarn global add @angular/cli
</docs-code>
<docs-code
header="bun"
language="shell"
>
sudo bun install -g @angular/cli
</docs-code>