All apps/Capacitor (cap)

Capacitor (cap)

cap

The Capacitor command-line interface, used to develop Capacitor apps.

Runs as cap|macOS, Linux, Windows|capacitorjs.com

Autocomplete

Fig spec, with what the manifest adds · 7 subcommands · 2 options
Published once and never changed; check the digest before caching
sha256
a588e4f93952a0c0e0291c4b62bb31cf337fc1f9790b24f162e9cca7f07cacb7
Size
3741 bytes
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
OptionsOn cap itself
--help-h
Output usage information. Can be used with individual commands too
--version-V
Output the version number