1)卸载现有版本:npm uninstall -g @angular/cli --force
2)强制清除缓存:npm cache -g clean --force
3)安装最新版本:cnpm install -g @angular/cli@latest
4)查看最新版本信息:ng version