NodeOps
UK

CLI Command Reference

Complete reference for all CreateOS CLI commands.


Global Flags

FlagDescription
--output json, -o jsonOutput results as JSON (supported on most commands)
--debug, -dPrint HTTP request/response details (tokens are masked)
--api-urlOverride the API base URL
--help, -hShow help for any command

Authentication

CommandDescription
createos loginSign in via browser (OAuth) or API token
createos logoutSign out and clear stored credentials
createos whoamiShow the currently authenticated user

Project Management

CommandDescription
createos initLink the current directory to a CreateOS project
createos projects listList all your projects
createos projects getShow details for a specific project
createos projects deleteDelete a project

Deployments

CommandDescription
createos deployDeploy your project (auto-detects type)
createos deploy --branch <name>Deploy from a specific branch (VCS projects)
createos deploy --image <ref>Deploy a Docker image (image projects)
createos deployments listList deployments for a project
createos deployments logsView runtime logs
createos deployments logs -fTail logs in real-time
createos deployments build-logsView build-time logs
createos deployments retriggerRedeploy an existing deployment
createos deployments cancelCancel a running deployment
createos deployments wakeupWake up a sleeping deployment

Environment Variables

CommandDescription
createos env listList environment variables (masked by default)
createos env set KEY=valueSet one or more variables
createos env rm KEYRemove a variable
createos env pullDownload variables to a local .env file
createos env pushUpload variables from a local .env file

Examples

Bash
1# Set multiple variables at once
2createos env set DATABASE_URL=postgres://... API_KEY=sk-xxx
3
4# Pull to local file for development
5createos env pull
6
7# Push from local file to remote
8createos env push --force

Scaling

CommandDescription
createos scale --showView current resource allocation
createos scale --replicas NSet number of replicas (1–3)
createos scale --cpu NSet CPU in millicores (200–500)
createos scale --memory NSet memory in MB (500–1024)

Example

Bash
1createos scale --replicas 2 --cpu 300 --memory 512

Cron Jobs

CommandDescription
createos cronjobs listList all cron jobs
createos cronjobs createCreate a new cron job
createos cronjobs getShow details for a cron job
createos cronjobs updateUpdate a cron job
createos cronjobs deleteDelete a cron job
createos cronjobs suspendPause a cron job
createos cronjobs unsuspendResume a paused cron job
createos cronjobs activitiesView execution history

Example

Bash
1createos cronjobs create \
2 --name "nightly-cleanup" \
3 --schedule "0 0 * * *" \
4 --path /api/cleanup \
5 --method POST

Custom Domains

CommandDescription
createos domains listList custom domains
createos domains add <domain>Add a domain (shows DNS records)
createos domains verifyCheck DNS propagation and wait
createos domains deleteRemove a domain

Workflow

Bash
1# Add a domain — shows required DNS records
2createos domains add api.myapp.com
3
4# After configuring DNS, verify propagation
5createos domains verify
6
7# Or check once without waiting
8createos domains verify --no-wait

Templates

CommandDescription
createos templates listBrowse available templates
createos templates info <id>Show template details
createos templates use <id>Download and scaffold a project

Status & Open

CommandDescription
createos statusProject health dashboard
createos openOpen project URL in browser
createos open --dashboardOpen the CreateOS dashboard

VMs

CommandDescription
createos vms listList VM instances
createos vms getVM details
createos vms deployDeploy a new VM
createos vms sshSSH into a VM
createos vms rebootReboot a VM
createos vms resizeChange VM size
createos vms terminateDestroy a VM

Sandboxes

Alias: createos sb

MicroVM sandboxes powered by fc-spawn. See the Sandboxes guide for full examples.

Lifecycle

CommandDescription
createos sandbox createCreate a new sandbox
createos sandbox listList sandboxes (default: running only)
createos sandbox get <sandbox>Show sandbox details
createos sandbox edit <sandbox>Change settings (ingress, SSH keys, auto-pause)
createos sandbox pause <sandbox>Snapshot and pause a running sandbox
createos sandbox resume <sandbox>Resume a paused sandbox
createos sandbox fork <sandbox>Clone a paused sandbox
createos sandbox rm <sandbox>Delete one or more sandboxes

Execution and files

CommandDescription
createos sandbox exec <sandbox> -- <cmd>Run a one-shot command
createos sandbox shell <sandbox>Open an interactive shell
createos sandbox push <sandbox> <local> <remote>Upload a file
createos sandbox pull <sandbox> <remote> <local>Download a file
createos sandbox sync <sandbox>Two-way directory sync

Networking

CommandDescription
createos sandbox tunnel <sandbox>Forward a local port to the sandbox
createos sandbox network create <name>Create a private network
createos sandbox network lsList networks
createos sandbox network attach <sandbox> <network>Attach sandbox to network
createos sandbox network detach <sandbox> <network>Detach sandbox from network
createos sandbox firewall show <sandbox>Show egress allowlist
createos sandbox firewall set <sandbox> <host>Set egress allowlist
createos sandbox firewall clear <sandbox>Allow all outbound traffic

Disks and images

CommandDescription
createos sandbox disk create <name>Register an S3 bucket as a mountable disk
createos sandbox disk lsList disks
createos sandbox disk attach <sandbox> <disk>:/pathAttach disk to running sandbox
createos sandbox template submit <name>Build a custom image from a Dockerfile
createos sandbox template lsList custom templates
createos sandbox shapesList available sandbox sizes
createos sandbox rootfsList built-in OS images

Examples

Bash
1# Create and run a command
2createos sandbox create --shape s-1vcpu-256mb --name dev
3createos sandbox exec dev -- python3 --version
4
5# Public URL for demos
6createos sandbox create --shape s-1vcpu-1gb --ingress
7
8# Port-forward a dev server
9createos sandbox tunnel dev --local 8080 --remote 3000
10
11# Script-friendly cleanup
12createos sandbox list --quiet --status failed | xargs createos sandbox rm --force

Skills Marketplace

CommandDescription
createos skills catalogBrowse the skills marketplace (interactive TUI)
createos skills purchasedList your purchased skills

OAuth Clients

CommandDescription
createos oauth-clients listList your OAuth clients
createos oauth-clients createCreate a new OAuth client
createos oauth-clients deleteDelete an OAuth client
createos oauth-clients instructionsSetup instructions for a client

Other

CommandDescription
createos upgradeSelf-update to the latest version
createos versionPrint version, channel, and commit
createos askOpen AI assistant for infrastructure management

Non-Interactive / CI Usage

All commands work in CI pipelines using flags instead of interactive prompts:

Bash
1# Authenticate with token
2createos login --token
3
4# Deploy with explicit project
5createos deploy --project <project-id>
6
7# Set env vars
8createos env set KEY=value --project <id> --environment <id>
9
10# Delete with force (skip confirmation)
11createos domains delete --project <id> --domain <id> --force
12createos deployments cancel --project <id> --deployment <id> --force
13
14# JSON output for scripting
15createos projects list --output json
16createos status --output json | jq .

100,000+ Builders. One Workspace.

Get product updates, builder stories, and early access to features that help you ship faster.

CreateOS is a unified intelligent workspace where ideas move seamlessly from concept to live deployment, eliminating context-switching across tools, infrastructure, and workflows with the opportunity to monetize ideas immediately on the CreateOS Marketplace.