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