mac update angular cli code example Example: ng update @angular/core @angular/cli npm uninstall -g angular-cli npm install -g @angular/cli@latest