how to update angular cli version globally on mac code example
Example 1: update angular cli globally
npm update @angular/cli -g
Example 2: install angular cli specific version
npm install -g @angular/[email protected]
Example 3: install angular cli specific version
npm uninstall -g angular-cli
npm cache clean
npm install -g [email protected]
Example 4: npm install --save-dev @angular/cli@latest
npm install --save-dev @angular/[email protected]