Skip to main content
Version: v6

Capacitor CLI - cap add

Add a native platform project to your app.

npx cap add <platform>

Inputs:

  • platform (required): android, ios

Options:

iOS Only:

  • --packagemanager: SPM, Cocoapods