Skip to content

🔹 get-qr

🔳 Print a terminal QR code for a bundle or channel preview.

Terminal window
npx @capgo/cli@latest get-qr

Preview must be enabled for the app. Examples: npx @capgo/cli@latest get-qr com.example.app —bundle 1.2.3 npx @capgo/cli@latest get-qr com.example.app —bundle 123 npx @capgo/cli@latest get-qr com.example.app —channel production npx @capgo/cli@latest get-qr com.example.app production —type channel

ParamTypeDescription
-astringAPI key to link to your account
—bundlestringBundle name or id to preview
—channelstringChannel name or id to preview
—typestringType for positional target
—pngstringWrite the preview QR code as a PNG image to the given file path
—urlbooleanPrint preview URLs only (web and deep link), without a terminal QR code
—web-urlbooleanEncode the web preview URL in the QR code and PNG instead of the capgo:// deep link
—preview-envstringPreview web URL environment
—supa-hoststringCustom Supabase host URL (for self-hosting or Capgo development)
—supa-anonstringCustom Supabase anon key (for self-hosting)