Skip to content

Commit b89af3c

Browse files
alan-agius4leonsenft
authored andcommitted
docs: remove redundant ng command from npx instructions in Angular Developer skill
1 parent 946f4ea commit b89af3c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • skills/dev-skills/angular-developer

skills/dev-skills/angular-developer/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ When asked to create a new Angular project, you must determine the correct execu
2828
**Step 1: Check for an explicit user version.**
2929

3030
- **IF** the user requests a specific version (e.g., Angular 15), bypass local installations and strictly use `npx`.
31-
- **Command:** `npx @angular/cli@<requested_version> ng new <project-name>`
31+
- **Command:** `npx @angular/cli@<requested_version> new <project-name>`
3232

3333
**Step 2: Check for an existing Angular installation.**
3434

@@ -39,7 +39,7 @@ When asked to create a new Angular project, you must determine the correct execu
3939
**Step 3: Fallback to Latest.**
4040

4141
- **IF** no specific version is requested AND the `ng version` command fails (indicating no Angular installation exists), you must use `npx` to fetch the latest version.
42-
- **Command:** `npx @angular/cli@latest ng new <project-name>`
42+
- **Command:** `npx @angular/cli@latest new <project-name>`
4343

4444
## Components
4545

0 commit comments

Comments
 (0)