Updating

See the Angular Update Guide for version-specific steps.

Angular

ng update @angular/cli @angular/core
# If using Angular Material (also updates cdk package):
ng update @angular/material

Updating to latest patch version

ng update @angular/cli@^<major_version> @angular/core@^<major_version> @angular/material@^<major_version>
# Update, ignoring pending changes
ng update @angular/cli@^<major_version> @angular/core@^<major_version> @angular/material@^<major_version> --allow-dirty

ESLint

ng update @angular-eslint/schematics
npm run eslint

Jest

npm install @types/jest jest jest-preset-angular
npm run jest

Stylelint

npm install --save-dev stylelint stylelint-config-sass-guidelines stylelint-config-standard
npm run stylelint