Overview
The Mixpeek CLI (@mixpeek/cli) lets you deploy Canvas apps, stream build logs, list preview environments, and run a local dev server — all from your terminal.
Installation
Authentication
--api-key to any command.
Commands
mixpeek apps deploy
Build your app locally and deploy it to Canvas.
- Detects your package manager (npm, yarn, pnpm)
- Runs
npm run build(or equivalent) - Zips the
dist/output directory - Uploads the bundle to Mixpeek
- Triggers a deploy
| Flag | Description | Default |
|---|---|---|
--app-id | App ID to deploy to | Required |
--environment | Target environment | production |
--message | Commit message for the version | Auto-generated |
--api-key | API key (overrides stored key) | From mixpeek login |
The CLI builds
dist/ (not src/). Make sure your build script outputs to dist/, build/, or out/.mixpeek apps logs
Stream real-time build logs for an active deploy.
mixpeek apps preview
List active preview deployments for an app.
mixpeek apps dev
Start a local development server with Mixpeek environment variables pre-configured.
npm run dev) with VITE_MIXPEEK_API_URL set, so API proxy calls work locally.

