Capacitor CLI - cap update
Updates the native plugins and dependencies referenced in package.json
.
npx cap update [<platform>]
platform
(optional):android
,ios
--deployment
: Podfile.lock won't be deleted and pod install will use--deployment
option.
Hooks
The following hooks are available for update command:
capacitor:update:before
capacitor:update:after