How do you create new application using Angular CLI?

Experience Level: Junior
Tags: AngularAngular CLI

Answer

Run the following command from the command line:

ng new

This command create a new Angular application in the current directory.

Enter the settings for the new project

  • Name of the project
  • Type Y so that the Angular routing will be added
  • Select SCSS (or other Stylesheet format if you don't prefer SCSS)

Comments

No Comments Yet.
Be the first to tell us what you think.
Angular CLI for beginners
Angular CLI for beginners

Are you learning Angular CLI ? Try our test we designed to help you progress faster.

Test yourself