79389079

Date: 2025-01-26 18:37:10
Score: 2
Natty:
Report link

Angular CLI (Command Line Interface)

To increase the productivity, we can create components, directives, pipes, services etc... with the help of Angular CLI.

Once we install Angular CLI

Locally Installation: ng i | install @angular/cli

i - shorthand install - fullhand

D:/> ng i @angular/cli

Suppose I am in D drive, above install angular cli locally in D drive. Tomorrow If I want to create angular project or work with angular project. I will get error.

To install angular cli globally in your system modified the above command with below command

D:/> ng i -g @angular/cli

-g --> globally

It will install the angular cli locally in that drive.

You can check other options to do with ng

Just type in Terminal or Command Prompt

ng --help

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Amit Singh