How to install Angular
Here's how to install Angular using Node Package Manager.
Install the latest version of Angular.
npm install -g @angular/cli@latest
Install the latest version of Typings.
npm install -g typings
Install the latest version of Typescript.
npm install -g typescript
Install the latest version of Yarn. Yarn is a better package manager than
npm. Yes, it's ironic that you use
npm to install
yarn but in the end, if you want to achieve something similar to Ruby on Rail's "freeze" or
bundle package, yarn is your best bet.
npm install -g yarn
Run yarn instead of
If you have any issues installing Angular, try these troubleshooting solutions.
- Angular CLI globally.