CLI Commands
TurboCI provides a simple command-line interface for managing your deployments.
turboci up
Deploy your stack. This command reads your config.yaml file from the .turboci directory and creates or updates all deployments. If no configuration is found, it automatically runs turboci init
to bootstrap a configuration.
turboci up
turboci init
Bootstrap a new configuration or edit an existing one. This command provides an interactive prompt to set up your deployment.
turboci init
turboci down
Tear down deployments. This command destroys resources created by TurboCI. It accepts -t
and -s
flags but only works at the deployment level, not service level.
# Tear down all deployments
turboci down
# Tear down specific deployment
turboci down -t deployment_name
To remove a service, delete or comment out the service config and run turboci up
. All servers related to that service will be removed.
turboci spec
View specifications for each cloud provider, including available locations and server types.
turboci spec
Targeting Specific Services
Use the -t
or --target
flag to deploy only specific services.
Target a single service
turboci up -t deployment_name.service_name
This deploys only the specified service in the specified deployment.
Target multiple services
turboci up -t deployment_name.service_name -t deployment_name.service_name_2
You can specify multiple targets to deploy several services at once.
Target all services in a deployment
turboci up -t "deployment_name.*"
Use the wildcard to target all services in a deployment.
Target services across deployments
turboci up -t service_name -t service_name_2
Omit the deployment name to target these services in any deployment.
Skipping Services
Use the -s
or --skip
flag to skip specific services during deployment.
Skip a single service
turboci up -s deployment_name.service_name
This deploys everything except the specified service.
Skip multiple services
turboci up -s deployment_name.service_name -s deployment_name_2.service_name
You can skip multiple services across deployments.
Skip all services (default configs only)
turboci up -s "*.*"
Using the wildcard skips every service and only runs default configs (network, SSH, relay, etc).
Common Workflows
Deploy everything
turboci up
Update only the web service
turboci up -t deployment_name.web
Deploy all services in production deployment
turboci up -t "production.*"
Tear down specific deployment
turboci down -t deployment_name
Next Steps
Learn how to configure environment variables for different cloud providers.
Continue to Environment Variables →