Install OpenCode on a VPS, Fast

Run an open-source AI coding agent on a Jakarta VPS with one-click deploy, ready to use over SSH or the web UI

Specifications
Operating systemUbuntu 26.04
RAM / MemoryFrom 1 GB (2 GB+ for large repos)
Disk20 GB SSD NVMe
LocationJakarta data center
Recommended planNevalite 1GB (1 Core)
Starting fromIDR 42,240/month or IDR 72/hour
OpenCode VPS on Nevacloud

OpenCode VPS: An AI Coding Agent That Keeps Running in the Cloud

A coding agent running on your laptop stops when the laptop shuts down or goes to sleep. When you install OpenCode on a VPS, agent sessions keep running even while your laptop is offline, in a Linux environment closer to your production servers. You can reach it from a laptop or phone over SSH or the web UI. On Nevacloud, an OpenCode VPS in Indonesia can start from the Nevalite 1GB plan with one-click deploy and hourly billing.

What Is OpenCode?

OpenCode is an open-source AI coding agent from Anomaly, released under the MIT license. You can use it as a terminal interface (TUI), a desktop app or a web app. OpenCode does not lock you into one model: you bring your own AI provider and model.

Key OpenCode Features

Choose Any Model - The provider and model catalog from models.dev is available through /connect. Local models work through Ollama, and a ChatGPT Plus/Pro login can be used instead of an OpenAI API key.
Agents and Subagents - Create your own agents as Markdown files, each with its own prompt, model and permissions.
Permissions - Set actions such as shell commands to allow, ask or deny in opencode.jsonc.
MCP Servers, Plugins and Custom Commands - Extend the agent through configuration.
Web UI with Password - The web UI is served by the same server as the TUI. Run opencode pair to get a one-time login link.
Server Mode - Run opencode serve on the VPS, then connect from another client with opencode --server.

Why OpenCode on Nevacloud

Hourly billing

From IDR 72/hour, pay for what you use.

Start small, upgrade anytime

Start at 1 GB for cloud models, resize to 2 GB+ for large repos.

One-click template

OpenCode (V2) template on Ubuntu 26.04, ready to use.

Jakarta data center

Your code and configuration are stored on your VPS in Jakarta.

Human support

Help from a real human support team, not a chatbot.

Pay in Rupiah

QRIS, GoPay, bank transfer or credit card; tax invoices on request.

You also get unlimited bandwidth, SSD NVMe storage with RAID10 protection, plus Snapshot, VNC Console, Recovery Mode and Reinstall in the dashboard, so you can roll back before changing your agent configuration.

OpenCode Use Cases on a VPS

Use Case

Example

Remote coding over SSH

Run opencode in your project folder. Use tmux so the session keeps running if SSH disconnects.

Web UI access from a laptop or phone

Open an SSH tunnel to port 49374 and run opencode pair, or scan the QR code from the OpenCode app.

An always-on OpenCode server

Run opencode serve with OPENCODE_PASSWORD, then connect with opencode --server.

Project-specific agents

Create a read-only reviewer subagent in .opencode/agents/.

OpenCode on a VPS vs on a Laptop

Topic

OpenCode on a VPS

OpenCode on a laptop

Availability

Sessions keep running when your laptop is off

Stops when the laptop shuts down or sleeps

Environment

Linux with root access, separate from your work laptop

Follows the OS and tools on your laptop

Access

Over SSH or the web UI from any device

Directly on the same laptop

Cost

VPS cost (from IDR 72/hour), plus AI model fees from the provider

No server cost, but AI model fees from the provider still apply

How to Install OpenCode on a Nevacloud VPS

  1. Click Deploy and choose a plan (Nevalite 1GB is recommended).
  2. Log in over SSH with ssh root@IP-VPS. For daily use, it is best to create a non-root user.
  3. Go to your project folder, run opencode, then type /connect to choose a provider and /models to choose a model.
  4. (Optional) Web UI: from your laptop run ssh -L 49374:127.0.0.1:49374 root@IP-VPS, then on the VPS run opencode pair and open the link that appears. The link works only once and expires after 5 minutes.
  5. Security: keep the server on localhost and do not open ports without a password. Set shell permissions to ask in opencode.jsonc. The opencode pair --remote command opens access from the internet, so use it only if you understand the risks.

If you install manually on another Ubuntu VPS, run curl -fsSL https://opencode.ai/v2/install | bash.

Conclusion

An OpenCode VPS on Nevacloud fits if you want a coding agent whose sessions keep running, that you can reach from a laptop or phone, with your data in Jakarta. Start with Nevalite 1GB at IDR 42,240/month (billed annually) or IDR 72/hour, then resize as your needs grow. If you are looking for an AI agent for chat and automation, see Hermes Agent or OpenClaw; OpenCode is focused on coding. OpenCode is an open-source project from Anomaly. Nevacloud is not affiliated with Anomaly.

FAQ 10 questions
  • OpenCode is an open-source AI coding agent from Anomaly, released under the MIT license. It is available as a terminal interface (TUI), a desktop app or a web app, and you use the AI provider and model of your choice. On Nevacloud, an OpenCode VPS can be deployed with a one-click template.
  • The OpenCode software is free under the MIT license. AI model fees are billed separately by the provider you choose and are not included in the VPS price. OpenCode Go is an optional paid subscription.
  • Start at 1 GB for cloud models; 2 GB+ is recommended for large repos. The OpenCode documentation does not state an official minimum, so this figure is a practical guideline. You can resize the VPS at any time as your needs grow.
  • With the Nevacloud template, click Deploy, log in over SSH, then run opencode in your project folder. If you install manually on another Ubuntu server, use curl -fsSL https://opencode.ai/v2/install | bash.
  • OpenCode has a catalog of providers and models from models.dev. In the TUI, run /connect to choose a provider and enter credentials, then /models. Custom OpenAI-compatible providers can also be added, local models work through Ollama, and a ChatGPT Plus/Pro login can be used instead of an OpenAI API key.
  • Yes, through the web UI. Open an SSH tunnel with ssh -L 49374:127.0.0.1:49374 root@IP-VPS, run opencode pair on the VPS, then open the link that appears (single use, valid for 5 minutes). The OpenCode app can also connect by scanning the QR code from opencode pair.
  • By default the OpenCode server listens only on localhost. Recommended practice: keep it on localhost and access it through an SSH tunnel, use a strong password, and set shell permissions to ask. The opencode pair --remote option opens access from the internet through OpenTunnel and requires the server password, so use it only if you understand the risks.
  • Run OpenCode inside tmux so the session keeps running when the SSH connection drops. For an always-on server, you can run opencode serve as a systemd service, then connect with opencode --server.
  • Yes, the Nevacloud template uses OpenCode V2. V1 and V2 commands can differ, so follow the documentation at opencode.ai/docs when following a guide.
  • Payment is in Rupiah via QRIS, GoPay, bank transfer or credit card, and tax invoices are available on request. For Nevalite 1GB, billing can be hourly (pay as you go) from IDR 72/hour, or an annual subscription equivalent to IDR 42,240/month.