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