ng update
Update an Angular workspace and its dependencies. More information: https://angular.dev/cli/update.
- Update all dependencies in the workspace:
ng update
- Update a specific package:
ng update
- Update multiple packages:
ng update
- Ignore peer dependency version mismatches:
ng update --force
- Allow updating when the repository contains modified or untracked files:
ng update --allow-dirty
- Update to prerelease versions, including beta and release candidates:
ng update --next
- Display additional details about internal operations:
ng update --verbose
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
