Commands

1.npm i - install all packeges 

2.ng new <ProjectName>

3.ng g c <ComponentName>

4.ng g s <ServiceName>

5.ng g interface <InterfaceName>

6.ng g p <PipeName>

7.ng g class <ClassName>

8.ng g d <DirectiveName>

8.ng s - <RunAngular>

9.ng s -o <RunAngular & open>

10.ng s --port 5200

11.ng g c <component-name> --dry-run 

It is used to check the where creating component and changes it will make like module

12.nvm list



node -v

npm -v

ng v

Comments