Skip to content

πŸš€ init

πŸš€ Initialize a new app in Capgo Cloud with step-by-step guidance.

Alias: i

Terminal window
npx @capgo/cli@latest init

This includes adding code for updates, building, uploading your app, and verifying update functionality. Capgo bundles are web assets and can be fetched by anyone who knows the URL. Use encryption for banking, regulated, or other high-security apps.

Example:

Terminal window
npx @capgo/cli@latest init YOUR_API_KEY com.example.app
ParamTypeDescription
-n,stringApp name for display in Capgo Cloud
-i,stringApp icon path for display in Capgo Cloud
β€”supa-hoststringCustom Supabase host URL (for self-hosting or Capgo development)
β€”supa-anonstringCustom Supabase anon key (for self-hosting)

If you are using init to plan dashboard and API operations, connect it with API Overview for the implementation detail in API Overview, Introduction for the implementation detail in Introduction, API Keys for the implementation detail in API Keys, Devices for the implementation detail in Devices, and Bundles for the implementation detail in Bundles.