how to update angular version

JavaScript
      
        content_copy
      
      ng update @angular/cli @angular/core
    For updating angular cli type this command :
ng update @angular/cli @angular/core   
Source

Also in JavaScript: