How to update angular small version with angular cli
In my Angular CLI project I am using npm update
to update my dependencies. If npm outdated
, you can see all deprecated dependencies.
Update June 2018
If you are using Angular CLI version 6+ you can use the new one ng update <packagename>
to update your dependencies. Note: This will update to the latest major version. If you don't want this stick with npm update
.
https://angular.io/guide/updating
For simple updates, all you need is the CLI command
ng update
.ng update
Lists the updates available to you without additional arguments and suggests recommended steps to update the application to the most recent version.
source to share