It is more simple. Use the following code in cmd.
npx -p @angular/[email protected] ng new my-angular-14-project
Note: replace 14.0.0 with the angular version you need to create the project.