In this tutorial im going to learn how to generate component and module in Angular JS using command.
1ste step
ng generate component login
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/06/image-48-1024x248.png)
2nd step
ng generate m user-auth
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/06/image-49-1024x133.png)
3rd step
How to Generate Class in Angular
ng generate class Dummy
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/06/image-50.png)
How to crate Interface in Angular?
ng g interface dummyInterface
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/06/image-51.png)
How to Generate Build file in Angular?
ng build
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/06/image-52-1024x570.png)
I hope its helpful command for you.