create app using angular 2 cli code example Example: install angular cli npm install -g @angular/cli ng new my-dream-app cd my-dream-app ng serve