update local and global angular version code example Example: npm install --save-dev @angular/cli@latest npm install --save-dev @angular/cli@9.1