run an angular project code example Example 1: angular install npm install -g @angular/cli Example 2: how to run angular ng serve --open