cap The Capacitor command-line interface (CLI) tool is used to develop Capacitor apps
Subcommands Name Description add
Add a native platform project to your app 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 ls
List all installed Cordova and Capacitor plugins open
Opens the native project workspace in the specified native IDE (Xcode for iOS, Android Studio for Android) run
Opens the native project workspace in the specified native IDE (Xcode for iOS, Android Studio for Android) sync
This command runs copy and then update update
Updates the native plugins and dependencies referenced in package.json
Options Name Description --help, -h
Output usage information. Can be used with individual commands too --version, -V
Output the version number