How to Install Angular CLI on MacOS M1/M2 | Create First Project on Angular CLI

Опубликовано: 28 Сентябрь 2024
на канале: Prashant Rana
23,276
231

This Video Tutorial shows you How to Install Angular CLI on your MacOS M1/M2 Machine And Set up your first Angular 15 Project using the Angular CLI.

We talk about how to use the the new command and the serve command to create this project and then ultimately run it.

Install NPM and NodeJS on MacOS -    • How to Download and Install NodeJS on...  

Commands to Check for NPM and NodeJS -
npm --version
nodejs --version

Install Angular CLI -
sudo npm install -g @angular/cli

Command to Verify Angular -
ng version

Command to Create and Launch Angular Project -
ng new project-name

Launch Angular -
ng serve
ng serve --port=4400(To Specify Diff Port)

#angular #frontend