In this tutorial you will use the new CLI prompts feature of Angular 7/8 to create a new project.
If Angular isn’t installed then run the following command:
npm i -g @angular/[email protected]
In your terminal or command line type the following command:
The CLI will then prompt you for a project name. Enter your desired name.
Choose whether you’d like routing added to your app with y or n. Selecting yes will install the router and allow you to create routes later on.
Choose which style format you’d like and hit enter.
The CLI will then generate your project for you and you can now open up the project in your IDE of choice.