Skip to content

Commands reference

Reference for all core management commands in the Quant Cloud CLI. Every command that accepts --org, --app, --env, or --platform flags will use those values instead of the active context.

Manage which organization you’re working with.

CommandDescription
qc org listList available organizations and your role in each
qc org select [orgId]Switch to a different organization (interactive if no ID given)
qc org currentShow the current active organization
FlagDescription
--org <org>Override organization for this command
--platform <platform>Override active platform

Manage applications within your organization.

CommandDescription
qc app listList applications with environment count and deployment status
qc app select [appId]Switch to an application (auto-selects first environment)
qc app currentShow the current active application
FlagDescription
--org <org>Override organization
--platform <platform>Override active platform

Manage Quant CDN projects within your organization.

CommandDescription
qc project listList projects with display name, domain, and region
qc project select [projectName]Select active project
qc project currentShow the current active project
FlagDescription
--org <org>Override organization
--platform <platform>Override active platform

Manage environments within your application. This is the largest command group, covering creation, monitoring, and state control.

CommandDescription
qc env listList environments for the active application
qc env select [envId]Select active environment (searchable list if no ID given)
qc env currentShow the current active environment
Terminal window
qc env create [envName]
FlagDescription
--clone-from <envName>Clone configuration from an existing environment
--min-capacity <number>Minimum instance capacity (default: 1)
--max-capacity <number>Maximum instance capacity (default: 10)
--org <org>Override organization
--app <app>Override application
--platform <platform>Override active platform

Stream logs from your environment:

Terminal window
qc env logs [envId]
FlagDescription
-f, --followFollow log output in real-time (tail)
-n, --lines <number>Number of lines to show (default: 100)
--org <org>Override organization
--app <app>Override application
--env <env>Override environment
--platform <platform>Override active platform
Terminal window
# Show last 100 lines
qc env logs
# Tail logs in real-time
qc env logs -f
# Show last 500 lines
qc env logs -n 500

Display a real-time metrics dashboard showing CPU, memory, network, request counts, and error rates:

Terminal window
qc env metrics [envId]
FlagDescription
-r, --refresh <seconds>Refresh interval in seconds (default: 5)
--no-clearDisable screen clearing between updates
--org <org>Override organization
--app <app>Override application
--env <env>Override environment
--platform <platform>Override active platform

Start, stop, and redeploy environments:

CommandDescription
qc env state stop [envId]Stop the environment
qc env state start [envId]Start the environment
qc env state redeploy [envId]Redeploy the environment

The redeploy command accepts an additional --tag <imageTag> flag to specify a Docker image tag.

All state commands accept --org, --app, --env, and --platform overrides.

Manage Quant crawlers for your projects.

CommandDescription
qc crawler listList crawlers for a project
qc crawler run [crawlerId]Run a crawler
FlagDescription
--project <project>Project name (uses active project if not specified)
--urls <urls...>Specific URLs to crawl (space-separated, run only)
--org <org>Override organization
--platform <platform>Override active platform
Terminal window
# List crawlers for the active project
qc crawler list
# Run a specific crawler
qc crawler run my-crawler-id
# Run a crawler with specific URLs
qc crawler run my-crawler-id --urls https://example.com/page1 https://example.com/page2