how install angular on mac code example Example 1: install angular on mac npm install -g @angular/cli Example 2: install angular mac npm install -g @angular/cli