NodeOps
UK

CreateOS CLI / CLI in CI/CD Pipelines

Use CreateOS CLI in CI/CD Pipelines

Automate deployments from GitHub Actions, GitLab CI, or any CI/CD system. Every CLI command supports non-interactive mode with --output json and --force flags.

$ createos deploy --project $ID

How to cli in ci/cd pipelines

1

Install in CI

$ curl -sfL https://raw.githubusercontent.com/NodeOps-app/createos-cli/main/install.sh | sh -

The curl installer auto-detects OS and architecture. Works on any Linux CI runner.

2

Authenticate with token

$ createos login --token

Uses API key for headless authentication. No browser needed.

3

Deploy

$ createos deploy --project $PROJECT_ID

Explicit project flag, no interactive prompts.

4

Verify

$ createos status --project $PROJECT_ID --output json

JSON output for parsing deployment status in scripts.

Flags and options

FlagDescription
--project <id>Explicit project ID (required in CI)
--output jsonMachine-readable JSON output
--forceSkip all confirmation prompts
--environment <id>Target specific environment

Examples

# GitHub Actions deploy

$ createos deploy --project ${{ vars.PROJECT_ID }}

# Set env vars from secrets

$ createos env set DATABASE_URL=$DB_URL --project $ID --environment $ENV_ID

# Parse deploy status

$ createos status --output json | jq .project.status

# Force delete without prompt

$ createos domains delete --project $ID --domain $DOMAIN_ID --force

Frequently asked questions

How do I authenticate in CI?
Use createos login --token with your API key. Get your key from Profile Settings > API Keys in the CreateOS dashboard. Store it as a CI secret (e.g., CREATEOS_API_KEY in GitHub Actions).
Does the CLI work on Linux CI runners?
Yes. The curl installer auto-detects Linux x86_64 and ARM64. It works on GitHub Actions (ubuntu-latest), GitLab CI, CircleCI, and any Linux-based runner.
How do I get JSON output for scripting?
Add --output json or -o json to any command. In non-TTY environments (pipes, CI), the CLI defaults to JSON automatically.
Can I deploy on every push to main?
Yes. Add the install + login + deploy steps to your CI workflow triggered on push to main. The CLI handles everything, no additional deployment tools needed.

Get started with CreateOS CLI

$ brew install createos

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.