All apps/Capacitor

Capacitor

capacitor

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

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

Command form

ai-draft · 4 tasks · 7 fields

Add platforms, sync web assets and run on a device. Run from the root of a Capacitor project.

Opens the form; the finished command lands at your prompt, unrun
otty gui capacitor

capacitor add

Add a platform
Add a platformExample values, fixed in this page — nothing here reaches a terminal
Basic
Platform*
2 choicesenum
TasksEach one presets the form for one job
Add a native platform
platform
ParametersOnly these flags are editable in the form
Platform
enum · positional 0
androidios

capacitor sync

Sync web assets and plugins
Sync web assets and pluginsExample values, fixed in this page — nothing here reaches a terminal
Basic
Platform
2 choicesenum
TasksEach one presets the form for one job
Sync all platforms
platform
ParametersOnly these flags are editable in the form
Platform
Leave empty to sync every platform.
enum · positional 0
androidios
Inline JS source maps
Allows debugging an Android WebView in Chromium based browsers.
boolean
--inline
Podfile.lock deployment mode
Podfile.lock is not deleted and pod install uses --deployment.
boolean
--deployment

capacitor run

Run on a device
Run on a deviceExample values, fixed in this page — nothing here reaches a terminal
Basic
Platform*
2 choicesenum
Target device
string
TasksEach one presets the form for one job
Run on a target
platformtarget
List targets
platformlist
ParametersOnly these flags are editable in the form
Platform
enum · positional 0
androidios
List target devices
boolean
--list
Target device
string
--target
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed capacitor against its version. A form that does not match your version is not offered.