How to create new component in Angular

AOA
I am new to Angular and have previously worked in JavaScript. Previous month my teacher ask me to deliver a mini project in Angular 4. I just started it and have also created my first program there. Now I am just confused to make new component using CLI. Can you please discuss what actually CLI is? How it can be installed and how it worked?
Thanks in advance

CLI it’s a generic acronym that stands for Command Line Interface: basically it’s a way to interact with the stuff CLI is related to through a terminal^^

Here you have the commands to execute to install it and to create a new component (it creates the files and it updates the module file):
Angular CLI

To create a new component you can use ng generate newComponent: github - generate