Bird
0
0

Which Angular CLI command creates a new project named app-demo using the default configuration?

easy📝 Conceptual Q1 of 15
Angular - Fundamentals
Which Angular CLI command creates a new project named app-demo using the default configuration?
Ang generate app-demo
Bng create app-demo
Cng init app-demo
Dng new app-demo
Step-by-Step Solution
Solution:
  1. Step 1: Use Angular CLI

    The Angular CLI command to create a new project is ng new.
  2. Step 2: Specify the project name

    Appending the project name app-demo after ng new initializes the project with default settings.
  3. Final Answer:

    ng new app-demo -> Option D
  4. Quick Check:

    Command must start with ng new [OK]
Quick Trick: Use 'ng new' followed by project name to create a new Angular app [OK]
Common Mistakes:
  • Using 'ng create' instead of 'ng new'
  • Using 'ng init' which is deprecated
  • Using 'ng generate' which is for components, not projects

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Angular Quizzes