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