angular update global code example Example: npm install --save-dev @angular/cli@latest npm install --save-dev @angular/[email protected]