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

preview_player
Показать описание
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.

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
Рекомендации по теме
Комментарии
Автор

Very helpful! Exactly what I needed! Thanks!

metoo
Автор

Great Video, I have an issue at the moment creating components, if I run ng g c mycomponent I get "More than one module matches. Use the '--skip-import' option to skip importing the component into the closest module or use the module option to specify a module." and If I add --skip-import I get "Option "_name" is not defined."

angelcallejas
Автор

I do all the steps until where I check the ng version it says the following: zsh: command not found: ng

williamcatalan
Автор

Error: This command is not available when running the Angular CLI inside a workspace. i get this message

ayushroy
Автор

Hi, i am getting the 'zsh: command not found: ng' error.

zdscyqd
Автор

Nice video, but I am facing this issue when i run ng serve on the terminal
Error: error:0308010C:digital envelope routines::unsupported
at new Hash
at Object.createHash (node:crypto:133:10)

piyushzope
Автор

I have completed the process till installing angular cli
but it shows an error after ng new my-angular-project (ERESOLVE unable to resolve dependency tree)

yash
Автор

first time using mac os, how can i make text bigger? 0:50

sadglory
Автор

In my mac I am unable to write password

aayuakhil
Автор

Great video! However, I did exactly what you did and it says " zsh: command not found: ng" when I run ng --version on the terminal. What should I do?

Rafael_Rocha