Snap Cloud CLI
Install, update, and run the Snap Cloud CLI to manage databases and storage and deploy edge functions for your SPECS Lens backend from a terminal.
- Snapchat: not supported
- SPECS: fully supported
- Camera Kit Web: not supported
- Camera Kit Mobile: not supported
- SnapchatNot supported
- SPECSFully supported
- Camera Kit WebNot supported
- Camera Kit MobileNot supported
The Snap Cloud CLI lets you work with your Snap Cloud projects from a command line, on macOS or Windows. Use it to manage databases and storage, deploy edge functions, run tests, and more, without opening the Snap Cloud dashboard. The CLI is the Supabase CLI, run with the snap profile.
Install the Snap Cloud CLI
- macOS
- Windows
brew install supabase/tap/supabase
scoop bucket add supabase https://github.com/supabase/scoop-bucket.git
scoop install supabase
Update the Snap Cloud CLI
- macOS
- Windows
brew upgrade supabase
scoop update supabase
Run Snap Cloud CLI commands with the snap profile
Run supabase with the snap profile, followed by your command:
supabase --profile snap [command]
The CLI remembers the last profile you used, so later commands don't need --profile snap.
For example, to log in:
supabase --profile snap login
For every command, see the Snap Cloud CLI reference.
Related
- Edge Functions: the functions you can deploy with the CLI, and deploying them from the dashboard instead.
- Get Started: create the Snap Cloud project the CLI works with.
- Snap Cloud CLI reference: every command and option.