You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/dev-skills/angular-developer/SKILL.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ When asked to create a new Angular project, you must determine the correct execu
28
28
**Step 1: Check for an explicit user version.**
29
29
30
30
-**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>`
32
32
33
33
**Step 2: Check for an existing Angular installation.**
34
34
@@ -39,7 +39,7 @@ When asked to create a new Angular project, you must determine the correct execu
39
39
**Step 3: Fallback to Latest.**
40
40
41
41
-**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>`
0 commit comments