diff --git a/guide/english/angular/index.md b/guide/english/angular/index.md index b1a7d1422d..7859a0a566 100644 --- a/guide/english/angular/index.md +++ b/guide/english/angular/index.md @@ -14,18 +14,26 @@ Google released the initial version of AngularJS on October 20, 2010. Stable rel After some modifications, Angular 4.0 was released in December 2016. Angular 4 is backward compatible with Angular 2.0, and some new features are the HttpClient library and new router life cycle events. Angular 5 released on November 1, 2017, a major feature of which is support for progressive web apps. Angular 6 was released in May 2018, and Angular 7 in October, 2018. The latest stable version is [7.0.0](https://angular.io/guide/releases). -**Install**: +## Installation The easiest way to install Angular is through [Angular CLI](https://cli.angular.io/). This tool allows the creation of new projects and generating components, services, modules, and so on, to a standard the Angular team consider to be best practices. +### Angular 2.x and Up + +#### Install Angular CLI ```shell npm install -g @angular/cli +``` -ng new example-app +#### Create a workspace and initial application +```shell +ng new my-app +``` -cd example-app - -ng serve +#### Serve the application in browser +```shell +cd my-app +ng serve --open ``` For more information, refer to the official docs for [Angular](https://angular.io/docs) or [Angular CLI](https://cli.angular.io/).