Subcommands7 subcommands
cap add
Add a native platform project to your app
cap copy
Copy the web app build and Capacitor configuration file into the native platform project. Run this each time you make changes to your web app or change a configuration value
cap ls
List all installed Cordova and Capacitor plugins
cap open
Opens the native project workspace in the specified native IDE (Xcode for iOS, Android Studio for Android)
cap run
Opens the native project workspace in the specified native IDE (Xcode for iOS, Android Studio for Android)
cap sync
This command runs copy and then update
cap update
Updates the native plugins and dependencies referenced in package.json