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