updating and installing angular cli locally code example Example: npm install --save-dev @angular/cli@latest npm install --save-dev @angular/cli@9.1