Create Angular 10 App with CLI
- techbookmm

- Jul 3, 2020
- 1 min read

Before creating Angular 10 app, you need the following:
Node.js
NPM package manager
1. Install Angular CLI
npm install -g @angular/cli2. Create a new workspace and initial starter app
ng new my-starter-appWhile creating, you will be asked the following features to choose:
- Would you like to add Angular routing? (Choose Y or N)
- Which stylesheet format would you like to use? (Choose CSS or SCSS or Sass or etc.,)
3. Go to created app directory
cd my-starter-app4. Start created app
ng serve5. Open browser and access to "http://localhost:4200/". You will see the following screen if Angular app is successfully created.

You may put --open command to open browser automatically and access to "http://localhost:4200/".
ng serve --openEnjoy!
Comments