Global Flags
These flags are available on all commands:Profile selection follows this precedence:
-p/--profile > XANO_PROFILE > a project-local profile.yaml > the default profile in the credentials file.xano auth
Browser-based authentication. Opens your browser to log in and creates a profile.
See Get Started — Authentication.
xano update
Update the CLI to the latest version.
xano profile
Manage CLI profiles. See Profiles for full documentation.
xano profile wizard
xano profile create
xano profile edit
xano profile use
Pin the current project to a profile by writing a project-local profile.yaml. The file holds no secrets — it references a profile by name. Precedence: -p/--profile > XANO_PROFILE > profile.yaml > default profile.
xano workspace
Manage workspaces. See Workspaces & Branches for full documentation.
xano workspace pull
See Push & Pull — Pull.
xano workspace push
Objects bind by the embedded
guid, not file path — see How objects are identified. See also Push & Pull — Push.
xano workspace git pull
See Push & Pull — Pull from Git.
xano workspace create
xano workspace edit
-w is omitted.
xano branch
Manage workspace branches. See Workspaces & Branches for full documentation.
xano branch create
xano branch edit
xano release
Manage versioned releases. See Releases for full documentation.
xano release create
xano release pull
xano release push
xano release export
xano release import
xano release deploy
-f / --force to skip the prompt. --set_live is off by default — omit it to deploy without promoting the new branch.
xano tenant
Manage tenants, deployments, and backups. See Tenants for full documentation.
xano tenant create
xano tenant pull
Tenant Environment Variables
Tenant Backups
Tenant Snapshots
Snapshots are instant clones of a tenant’s database. Each command takes the tenant name as its positional argument and supports-w and -o.
xano tenant snapshot create
The snapshot name returned looks like
t1234-abcd-xyz1_bk_20260603_203614 — you’ll pass it to swap and delete.
xano tenant snapshot list
ORIGINAL (the tenant’s initial database) and LIVE (the database the tenant currently serves).
xano tenant snapshot swap
Repoints a tenant’s live database to a snapshot. The current live database is left untouched, not deleted — so a swap is reversible.
xano tenant snapshot delete
Tenant Clusters
xano platform
View platform versions. See Platforms for full documentation.
xano unit_test
Run unit tests. See Testing for full documentation.
xano workflow_test
Run workflow tests. See Testing for full documentation.
xano sandbox
Manage your sandbox environment — an isolated copy of your workspace for testing changes before promoting them. See Sandbox for full documentation.
xano sandbox pull
xano sandbox push
Unlike xano workspace push, sandbox push does not accept -i/--include or -e/--exclude — it always pushes the full set of changed files. It also warns and prompts if the local files target a different workspace than the sandbox currently holds (see Sandbox — Workspace mismatch guard).
xano sandbox review
xano sandbox reset
xano sandbox delete
Sandbox Environment Variables
Sandbox License
Sandbox Tests
xano function
Manage custom functions.
xano function list
xano function get
xano function create
xano function edit
xano function run
Executes a function in the workspace and prints its result. Pass the function name as an argument (or with --name); omit both to pick one interactively. By default the CLI validates the input payload against the function’s declared inputs and prompts for any that are missing — use --no-input-check to skip that and send the payload as-is.
xano knowledge
Read a workspace’s knowledge and skills — the AGENTS.md, docs, and skills that shape how AI agents build in the workspace. These commands are read-only.
xano knowledge list
Lists knowledge and skills as plain-text markdown (the format AI agents consume). Only enabled items are shown by default.
xano knowledge get
Fetches a single knowledge item by name. Pass --file to fetch one of the item’s reference files instead of its main content.
xano static_host
Manage static file hosting and builds. See Static Hosting for full documentation.
xano static_host list
xano static_host create
xano static_host get
xano static_host edit
Provide at least one of --name, --description, or a --git-* flag. Renaming a host changes its deployed hostname.
xano static_host build list
xano static_host build get
xano static_host build push
Push a directory (-d, zipped automatically) or a zip file (-f). Defaults to the current directory when neither is given. The build name is optional — omit -n and the CLI generates a timestamped name. For package.json builds the CLI waits for the build to finish unless --no-wait is set, then prints the resulting host URLs.
xano static_host build pull
Exactly one of --build_id, --latest, or --env is required. Defaults to the original uploaded source; use --source built for the compiled/served output.
xano static_host build delete
Prompts for confirmation unless -f/--force is set.
xano static_host deploy
Promote a build to a host environment.
xano static_host migrate
Migrate v1 hosts to instance-managed (v2) hosting. Provide either a host name or --all, not both.