update version angular cli code example
Example 1: how to update angular version
content_copy
ng update @angular/cli @angular/core
Example 2: change version of ng cli
npm uninstall -g @angular/cli
npm cache clean
npm install -g @angular/cli@1.4.1