Bird
0
0

Which command checks the installed Angular CLI version?

easy📝 Conceptual Q2 of 15
Angular - Fundamentals
Which command checks the installed Angular CLI version?
Anpm version angular
Bnpm list -g angular-cli
Cng check
Dng version
Step-by-Step Solution
Solution:
  1. Step 1: Identify Angular CLI version command

    The Angular CLI provides ng version to show its version and environment info.
  2. Step 2: Differentiate from npm commands

    npm commands do not directly show Angular CLI version; ng version is the correct CLI command.
  3. Final Answer:

    ng version -> Option D
  4. Quick Check:

    Check Angular CLI version = ng version [OK]
Quick Trick: Use ng version to see Angular CLI and environment info [OK]
Common Mistakes:
  • Using npm version angular
  • Trying ng check command
  • Using npm list for Angular CLI version

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Angular Quizzes