From the course: SharePoint Framework for Developers: 5 SPFx and Angular

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Demo: Angular CLI

Demo: Angular CLI

From the course: SharePoint Framework for Developers: 5 SPFx and Angular

Start my 1-month free trial

Demo: Angular CLI

- [Instructor] Now before we go much further, let's understand the power of Angular CLI. But first, let's install Angular CLI. It's actually quite simple. Let me familiarize you with my dev machine. I'm on a Windows 10 machine and I have node installed and I have npm updated to whatever the latest version is right now. Okay, now you can follow me with the very same instructions on Mac or Linux as well. So here's what you do. Now on Mac or Linux you would say sudo, but here I'll just say npm install dash g at Angular slash CLI. Running this one command installs Angular CLI. Let's wait for this to finish. Okay, so Angular CLI got installed. Now here in this directory I have nothing. Now what I'm going to do is that I'm going to create a new project. An Angular project with the help of Angular CLI. So because I have installed Angular CLI in the global space, I should be able to use a command called ng. I should be able to say ng new. Let's call this demoproject. Hit enter. Now just by…

Contents