环境要求
node版本
安装需要升级的angular-cli版本;
npm install -g @angular/cli@latest
输入命令
ng update
根据所显示的command to update进行升级
执行 command to update
最后查看版本
ng version
or
ng update