OpenCode + Elestio
OpenCode is the open-source CLI tool for coding with LLMs. When paired with Elestio, it can deploy applications, manage infrastructure, configure backups, and handle your entire DevOps workflow from your terminal.
Up and Running in Minutes
Install the CLI, authenticate, and deploy your first service with OpenCode.
Install the Elestio CLI
Global npm package, zero dependencies.
Add the Elestio skill
Gives Cursor access to 400+ templates.
Install OpenCode
Install from github.com/opencode-ai/opencode.
Configure credentials
API token from dash.elest.io/account/security
Deploy your first service
Ask Cursor to deploy — it uses the Elestio CLI automatically.
Example Prompts
Elestio CLI
The Elestio CLI gives Cursor full access to the Elestio platform — deploy services, manage infrastructure, configure backups, and more. 400+ templates, any cloud provider, 100+ regions.
View on GitHub →Common Workflows
Deploy a database
- Ask OpenCode to deploy PostgreSQL
- Searches with
elestio templates search - Selects provider and region
- Deploys with
elestio deploy
Deploy from GitHub
- Ask OpenCode to deploy your repo
- Deploys CI/CD with
elestio deploy cicd - Creates pipeline with
elestio cicd create - Configures auto-deploy
Configure backups
- Ask OpenCode to set up backups
- Enables with
elestio backups auto-enable - Creates snapshot with
elestio snapshots take - Confirms backup schedule
Set up firewall
- Ask OpenCode to configure firewall
- Lists rules with
elestio firewall get - Adds rules with
elestio firewall enable - Verifies configuration
Check billing
- Ask OpenCode for billing overview
- Runs
elestio billing - Shows costs with
elestio billing project - Provides cost breakdown
Add SSL / custom domain
- Ask OpenCode to add a domain
- Adds with
elestio ssl add - Provides DNS instructions
- Verifies SSL is working
Frequently Asked Questions
How do I give OpenCode access to Elestio?
npm install -g elestio and authenticate with elestio login. This gives OpenCode access to Elestio's full API for deployments, backups, and infrastructure management.What can I deploy with OpenCode + Elestio?
Can OpenCode manage existing Elestio services?
How does billing work when deploying via OpenCode?
elestio sizes before deploying.Related Agents
Start deploying with OpenCode
Install the Elestio CLI and let OpenCode handle your infrastructure.