Skip to Content
Apso is in public beta. Get started
GuidesToolsApso CLICommandsOverview

CLI commands

Complete reference for all Apso CLI commands.

Project commands

CommandDescription
apso initCreate a new project or clone an existing one
apso generateGenerate code from .apsorc schema
apso devDetect the project language and start its local server
apso doctorDiagnose generated code, dependencies, Git, and project configuration

Schema commands

CommandDescription
apso migrateTest schema migrations locally with PGlite
apso schema validateValidate local .apsorc schema
apso schema diffShow diff between local and remote schema
apso schema pushPush local schema to platform
apso schema pullPull remote schema to local .apsorc

Deployment commands

CommandDescription
apso deployDeploy to Apso platform
apso statusShow service and build status
apso logsView build logs
apso openOpen service dashboard in browser
apso github connectAuthorize GitHub for repository synchronization

Authentication commands

CommandDescription
apso loginAuthenticate with Apso platform
apso logoutClear stored credentials
apso whoamiShow current authenticated user

Platform commands

CommandDescription
apso linkLink project to a platform service
apso unlinkRemove platform link
apso projectsList services in a workspace
apso use <workspace>Select the active workspace
apso configView or modify CLI configuration

Import commands

CommandDescription
apso import supabaseRead a Supabase PostgreSQL schema and create a local .apsorc file
apso import dataCopy table data from the source database into the target database rebuilt from that schema

The schema import is read-only against the source database. Review the generated .apsorc before creating the target service or copying data.

Agent commands

CommandDescription
apso mcp serveStart the stdio MCP server for a compatible coding agent

Maintenance commands

CommandDescription
apso updateUpdate the CLI to the latest available version

Global options

These options work with any command:

apso [command] --help # Show command help apso [command] --version # Show CLI version

Deprecated commands

The following commands still work but redirect to their replacements:

Old commandReplacement
apso server newapso init
apso server scaffoldapso generate

Command details

Last updated on