Skip to Content
🚀 APSO is now 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 devStart local dev server via Docker Compose

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

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 configView or modify CLI configuration

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