Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upupdate
ng update
Overview
ng update Updates the current application to latest versions.
ng update [package]Options
dry-run
--dry-run (alias: -d)
Run through without making any changes.
force
--force
If false, will error out if installed packages are incompatible with the update.
all
--all
Whether to update all packages in package.json.
next
--next
Use the largest version, including beta and RCs.
migrate-only
--migrate-only
Only perform a migration, does not update the installed version.
from
--from
Version from which to migrate from. Only available with a single package being updated, and only on migration only.
to
--to
Version up to which to apply migrations. Only available with a single package being updated, and only on migrations only. Requires from to be specified. Default to the installed version detected.
registry
--registry
The NPM registry to use.

