0
0
Angularframework~5 mins

Angular CLI installation and setup - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is Angular CLI?
Angular CLI is a command-line tool that helps you create, build, and manage Angular projects easily.
Click to reveal answer
beginner
Which command installs Angular CLI globally on your computer?
You use npm install -g @angular/cli to install Angular CLI globally.
Click to reveal answer
beginner
How do you create a new Angular project using Angular CLI?
Run ng new project-name to create a new Angular project with the CLI.
Click to reveal answer
beginner
What command starts the Angular development server?
Use ng serve to start the development server and see your app in the browser.
Click to reveal answer
beginner
Why is it important to install Angular CLI globally?
Installing Angular CLI globally lets you run Angular commands from any folder on your computer.
Click to reveal answer
Which command installs Angular CLI globally?
Anpm install -g @angular/cli
Bng new
Cnpm start
Dng serve
What does the command ng new my-app do?
ACreates a new Angular project named 'my-app'
BInstalls Angular CLI
CStarts the Angular server
DBuilds the Angular project
Which command runs the Angular app in the browser during development?
Ang build
Bnpm install
Cng test
Dng serve
Why do we use Angular CLI instead of manually setting up Angular?
AIt slows down development
BIt automatically creates and manages project files
CIt only works on Windows
DIt replaces the need for a code editor
After installing Angular CLI globally, where can you run Angular commands?
AOnly in the browser console
BOnly inside Angular project folders
CAnywhere on your computer
DOnly in the Node.js folder
Explain the steps to install Angular CLI and create a new Angular project.
Think about commands you type in the terminal from start to running the app.
You got /5 concepts.
    Why is Angular CLI helpful for beginners learning Angular?
    Consider how a tool can make learning and working easier.
    You got /5 concepts.