Skip to main content

Cloider CLI command reference, every command

This page lists every command of the cloider CLI, grouped by product, with a one line description and a link to its full reference with flags, examples and output. The CLI has 196 commands and subcommands; cloider <command> --help shows the same information in the terminal.

How to read the reference​

Every command page uses the same conventions:

NotationMeaning
cloider cluster create <name><name> is a required argument
cloider cluster services [cluster][cluster] is optional
<path>... or --trusted-source (repeatable)The argument or flag can be given several times
on|off, public|privatePick one of the values
[--]A -- may separate cloider's flags from a remote command's own arguments (exec commands)
<cluster>, <database>, <app>A resource's name, label or id, see how commands find a resource

Commands that change a resource take --wait (-w) and --timeout; deletes ask for confirmation unless you pass --yes. Every command also takes the global flags:

Global flagDescription
--profile <name>Profile to use (env CLOIDER_PROFILE)
--api-url <url>API to talk to (env CLOIDER_API_URL, default https://cloider.com/api)
--token-file <path>Read the API token from this file (env CLOIDER_TOKEN_FILE)
-o, --output <format>table, wide (adds ids), json or yaml
-q, --quietPrint only ids or names
--no-headersPrint tables without the header row
--no-colorDisable colors (env NO_COLOR)
-y, --yesDon't ask for confirmation
--debugLog API requests to stderr
-h, --helpHelp for any command

Command pages​

Kubernetes clusters​

cloider cluster manages serverless Kubernetes clusters. Alias: clusters.

CommandDescription
cloider clusterManage Kubernetes clusters
cloider cluster createCreate a cluster
cloider cluster deleteDelete a cluster and everything in it
cloider cluster execRun a command in the cluster's terminal (kubectl, helm), for scripts and AI agents
cloider cluster getShow a cluster
cloider cluster kubeconfigPrint a cluster's kubeconfig, write it to a file, or merge it into yours
cloider cluster listList clusters
cloider cluster pausePause a cluster, stopping its compute until it is resumed
cloider cluster resumeResume a paused cluster
cloider cluster servicesList the services clusters expose, which domain targets can route to
cloider cluster shellOpen a shell with kubectl inside a cluster
cloider cluster statusPrint a cluster's status

Databases​

cloider db manages PostgreSQL, MySQL, MongoDB and Redis databases. Aliases: database, databases, dbs.

CommandDescription
cloider dbManage PostgreSQL, MySQL, Redis and MongoDB databases
cloider db backupsList a database's backups, newest first
cloider db certPrint the CA certificate that signs a database's TLS certificate
cloider db connectConnect with the engine's own client (psql, mysql, redis-cli, mongosh)
cloider db createCreate a database
cloider db deleteDelete a database and its data
cloider db execRun a query or script with the database's client, for scripts and AI agents
cloider db getShow a database and how to reach it
cloider db insightsShow a database's resource usage today (-o json for the month)
cloider db listList databases
cloider db passwordPrint a database user's password
cloider db pausePause a database, keeping its data at a lower price until it is resumed
cloider db renameChange the name a database is shown and found by
cloider db resizeMove a database to a larger plan (restarts it)
cloider db restoreRestore a backup into a new database, leaving this one as it is
cloider db resumeResume a paused database
cloider db shellOpen the engine's client inside the platform, already logged in
cloider db sslRequire TLS on a database, or stop requiring it (restarts it)
cloider db statusPrint a database's status
cloider db trusted-sourcesList or change who may connect to a database

Object storage​

cloider bucket manages S3 compatible buckets, their files and access keys. Alias: buckets; bucket key also answers to bucket keys.

CommandDescription
cloider bucketManage object storage buckets, their files and access keys
cloider bucket corsShow or replace a bucket's CORS rules
cloider bucket cors clearRemove every CORS rule of a bucket, so any website can use it again
cloider bucket cors getList a bucket's CORS rules
cloider bucket cors setReplace every CORS rule of a bucket (-f - reads stdin)
cloider bucket createCreate a bucket
cloider bucket deleteDelete a bucket and every file in it
cloider bucket deletedList deleted files a versioned bucket can still restore
cloider bucket downloadDownload files from a bucket
cloider bucket getShow a bucket, its endpoint and url
cloider bucket keyManage S3 access keys for buckets
cloider bucket key createCreate an access key, its secret is shown once
cloider bucket key deleteDelete an access key, anything using it loses access
cloider bucket key listList access keys
cloider bucket key updateChange an access key's label, buckets or permission
cloider bucket lifecycleShow or replace a bucket's lifecycle rules
cloider bucket lifecycle clearRemove every lifecycle rule of a bucket
cloider bucket lifecycle getList a bucket's lifecycle rules
cloider bucket lifecycle setReplace every lifecycle rule of a bucket (-f - reads stdin)
cloider bucket listList buckets
cloider bucket lsList a bucket's files and folders
cloider bucket mkdirCreate an empty folder
cloider bucket policyShow, set or remove a bucket's S3 policy
cloider bucket policy deleteRemove a bucket's policy
cloider bucket policy getPrint a bucket's policy
cloider bucket policy setReplace a bucket's policy (-f - reads stdin)
cloider bucket regionsList the regions a bucket can be created in
cloider bucket restoreMake a previous version of a file the current one, or undelete it
cloider bucket rmDelete files, or whole folders with --prefix
cloider bucket rm-versionsPermanently delete versions of a file
cloider bucket statusPrint a bucket's status
cloider bucket uploadUpload files to a bucket
cloider bucket usageShow a bucket's storage use and cost this month
cloider bucket versioningShow or change whether a bucket keeps previous versions of its files
cloider bucket versionsList the versions a file has, newest first
cloider bucket visibilityShow or change whether anyone can read a bucket's files
cloider bucket websiteShow or change a bucket's static website

Container registry​

cloider registry manages registry projects, images, tokens and policies. Alias: registries; registry token also answers to registry tokens.

CommandDescription
cloider registryManage container registry projects, their images and tokens
cloider registry createCreate a project
cloider registry deleteDelete a project and every image in it
cloider registry getShow a project, its address and storage
cloider registry imagesList the images in a repository and their tags, newest first
cloider registry immutabilityProtect tags from being deleted or pushed over
cloider registry immutability addAdd an immutability rule
cloider registry immutability deleteDelete an immutability rule
cloider registry immutability listList a project's immutability rules
cloider registry immutability updateChange an immutability rule, keeping what isn't given
cloider registry listList projects
cloider registry loginLog docker in to every project of the account
cloider registry reposList a project's repositories, most recently pushed first
cloider registry retentionDelete old images automatically, with rules for what to keep
cloider registry retention getShow a project's retention rules and schedule
cloider registry retention runRun a project's retention now, or see what it would delete with --dry-run
cloider registry retention runsList retention runs, what a run did per repository, or per image
cloider registry retention scheduleChange when a project's retention runs, in UTC
cloider registry retention setReplace every retention rule of a project (-f - reads stdin)
cloider registry rmDelete an image, and every tag on it
cloider registry rm-repoDelete a repository and every image in it
cloider registry setChange who can pull from a project, how much it may store, or whether its tags are immutable
cloider registry statusPrint a project's status
cloider registry tokenManage the tokens docker logs in to projects with
cloider registry token createCreate a registry token, its secret is shown once
cloider registry token deleteDelete a registry token, anything logged in with it loses access
cloider registry token listList registry tokens
cloider registry token updateChange a registry token's label, projects or permission
cloider registry untagTake a tag off an image, the image stays
cloider registry usageShow a project's storage use and cost this month

Apps and deploys​

cloider app and cloider deploy manage apps; cloider git connects the git providers apps deploy from. Alias: apps.

CommandDescription
cloider appManage apps: deploy, logs, environment, builds
cloider app buildRead a build's logs or retry it
cloider app build logsPrint a build's output, following it while it runs (default: the latest build)
cloider app build retryRun a failed build again
cloider app build-argsRead and change the build args the app's Dockerfile is built with
cloider app build-args getPrint one variable's value, secrets included
cloider app build-args importSet variables from a .env file (- for stdin)
cloider app build-args listList the app's variables
cloider app build-args setSet variables, keeping the others
cloider app build-args unsetRemove variables
cloider app build-envRead and change the variables a buildpack build runs with
cloider app build-env getPrint one variable's value, secrets included
cloider app build-env importSet variables from a .env file (- for stdin)
cloider app build-env listList the app's variables
cloider app build-env setSet variables, keeping the others
cloider app build-env unsetRemove variables
cloider app buildsList the app's builds, newest first
cloider app createCreate an app from a git repository (use cloider deploy for a directory)
cloider app deleteDelete an app
cloider app deployDeploy a directory as an app, creating the app the first time
cloider app envRead and change the app's environment variables
cloider app env getPrint one variable's value, secrets included
cloider app env importSet variables from a .env file (- for stdin)
cloider app env listList the app's variables
cloider app env setSet variables, keeping the others
cloider app env unsetRemove variables
cloider app execRun a command in the app's container, for scripts and AI agents
cloider app getShow an app
cloider app gitChange the branch a git app deploys from, or its auto deploy
cloider app linkLink a directory to an app, so cloider deploy there deploys to it
cloider app listList apps
cloider app logsPrint the app's logs, -f to follow them
cloider app openOpen the app's URL in the browser
cloider app pauseStop the app serving, keeping its environment and image
cloider app resumeStart a paused app again
cloider app shellOpen a shell inside the app's container
cloider app statusPrint the app's status
cloider app updateChange the app's port or start command
cloider app usageShow the app's usage and cost this month
cloider deployDeploy a directory as an app, creating the app the first time
cloider gitConnect GitHub, GitLab or Bitbucket, and browse what apps can deploy from
cloider git branchesList a repository's branches
cloider git connectConnect a git account, in the browser
cloider git disconnectDisconnect a git account
cloider git installationsList the connected accounts of a git provider
cloider git reposList the repositories a connected account gives access to

Domains, DNS and routing​

cloider domain, cloider dns and cloider target manage domains, their DNS records and their routes. Aliases: domains, targets.

CommandDescription
cloider domainManage free subdomains and custom domains
cloider domain checkCheck whether a free subdomain can be claimed
cloider domain createClaim a free subdomain, or add a domain you own
cloider domain deleteDelete a domain, with its DNS records and targets
cloider domain getShow a domain and its targets
cloider domain listList domains, whatever their status
cloider dnsManage the DNS records of custom domains
cloider dns createAdd a DNS record
cloider dns deleteDelete a DNS record
cloider dns getShow a DNS record
cloider dns listList a domain's DNS records
cloider dns updateChange a DNS record, keeping what isn't given
cloider targetRoute a domain's paths to apps, bucket websites or cluster services
cloider target createRoute a path of a domain to an app, a bucket website or a cluster service
cloider target deleteDelete a target
cloider target listList a domain's targets
cloider target updateChange a target, keeping what isn't given

Support​

cloider support opens and follows support requests.

CommandDescription
cloider supportOpen and follow support requests
cloider support attachmentDownload an attachment of a support request
cloider support createOpen a support request
cloider support getShow a support request and its replies
cloider support listList your support requests
cloider support replyReply to a support request

Account​

Usage, bills, prices, members, API tokens and the current identity. Aliases: members, tokens.

CommandDescription
cloider usageShow this month's cost so far, and the forecast, per resource
cloider billingList the account's monthly bills
cloider billing showShow a bill's items
cloider pricingShow current prices
cloider memberSee who has access to the account
cloider member addAdd a member (in the dashboard)
cloider member listList the account's owner and members
cloider member removeRemove a member (in the dashboard)
cloider member roleChange a member's role (in the dashboard)
cloider tokenSee the account's API tokens
cloider token createGenerate an API token (in the dashboard)
cloider token listList API tokens
cloider token revokeRevoke an API token (in the dashboard, or cloider logout for the CLI's own)
cloider whoamiShow who the CLI acts as, and in which account

Authentication and profiles​

Logging in and out, and switching between accounts. Alias: profiles.

CommandDescription
cloider loginLog in through the browser, or with an API token
cloider logoutRevoke the CLI's token and forget it
cloider profileSwitch between accounts and apis
cloider profile addAdd or change a profile, e.g. one whose token is kept in a file of your own
cloider profile listList profiles
cloider profile removeForget a profile, without revoking its token (see logout)
cloider profile useMake a profile the one in use

The CLI itself​

Version, updates, shell completion and the MCP server.

CommandDescription
cloider versionPrint the CLI's version
cloider updateUpdate the CLI to the latest version
cloider update disableStop updating automatically
cloider update enableUpdate automatically again
cloider update statusShow the version, the latest one and whether auto-update is on
cloider completionGenerate the autocompletion script for the specified shell
cloider completion bashGenerate the autocompletion script for bash
cloider completion fishGenerate the autocompletion script for fish
cloider completion powershellGenerate the autocompletion script for powershell
cloider completion zshGenerate the autocompletion script for zsh
cloider mcpServe Cloider to AI agents as an MCP server

Command aliases​

Most command groups also answer to a plural or a short form, and list and delete have short aliases:

AliasSame as
cloider clusters, cloider dbs, cloider database, cloider databases, cloider buckets, cloider registries, cloider apps, cloider domains, cloider targets, cloider members, cloider tokens, cloider profilesThe singular group
lslist, in every group except registry, registry token, bucket key and profile. bucket ls lists files, not buckets
rmdelete (clusters, databases, apps, domains, DNS records, targets, bucket keys, bucket policies, registry tokens, immutability rules, profiles remove)
showget (clusters, databases, apps)
cloider db firewallcloider db trusted-sources
cloider registry repositoriescloider registry repos
cloider registry tagscloider registry images
cloider registry rm-imagecloider registry rm
cloider app deploycloider deploy

Commands that work without logging in​

cloider pricing, cloider version, cloider update (and its subcommands), cloider completion, cloider profile and cloider login itself work without an API token. Everything else needs one; see Authentication.

Next steps​

Frequently asked questions

How many commands does the Cloider CLI have?

The cloider CLI has 196 commands and subcommands, grouped into cluster, db, bucket, registry, app, deploy, git, domain, dns, target, support, the account commands (usage, billing, pricing, member, token, whoami), login, logout, profile, version, update, completion and mcp.

How do I see the help for a command in the terminal?

Add --help to any command, for example cloider db create --help, or run cloider help db create. Both show the arguments, flags and examples.

Which global flags does every command take?

--profile, --api-url, --token-file, -o/--output, -q/--quiet, --no-headers, --no-color, -y/--yes, --debug and -h/--help.