npm install -g @angular/cli@latest
$ npm install -g @angular/cli
$ cd angular-example-with-routing $ ng serve
$ cd ~ $ ng new angular-example-with-routing