upgrade ng cli version local version code example Example: update angular cli npm uninstall -g @angular-cli npm install -g @angular/cli@latest