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