Angular CLI - ng new
Create a new Angular workspace and choose initial application options.

How it works
ng new creates a workspace and an initial application. Review routing, stylesheet format, SSR, and package manager prompts for the project’s needs. Commit the generated lockfile and record the CLI version so teammates and CI can reproduce dependency installation.
Good practice
- Check the local Angular CLI version and run commands from the intended workspace.
- Review angular.json targets and builders before assuming optional commands are configured.
- Use the package manager and lockfile selected by the project.
- Review generated files, configuration changes, and build output before committing or deploying.
Further reading: Tutorialspoint: Angular CLI - ng new · Current Angular CLI reference · Workspace configuration.
Back to course overview · Previous: Angular CLI - ng version · Next: Angular CLI - ng help