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