Skip to main content
Version: v6

Capacitor CLI - cap migrate

Migrate your current Capacitor app to the latest major version of Capacitor.

npx cap migrate [options]

Options:

  • --noprompt>: do not prompt for confirmation
  • --packagemanager <packageManager>: The package manager to use for dependency installs (npm, pnpm, yan)
  • -h, --help: display help for command