14 Feb 2026 #tutorial #opencode #ai #coding

Install OpenCode on netcup VPS

Looking for a cheap linux server? Check netcup-coupons.com for netcup.eu coupons
netcup hosting promotional banner

OpenCode is an open-source AI coding agent with over 100,000 GitHub stars and 2.5 million monthly users. It helps you write, refactor, and understand code — available as a terminal interface, desktop app, or IDE extension.

Why Pay for Cursor Pro?

Why pay $20/month for Cursor Pro when OpenCode is free and open source? Use your own API keys, own your data, and don’t rent your coding assistant from a closed-source vendor.

With OpenCode, you get:

  • LSP integration — Automatically loads the right language servers
  • Multi-session — Run multiple agents in parallel on the same project
  • Share links — Share sessions with your team for debugging
  • Any model — 75+ LLM providers, or use your existing subscriptions

Free AI Models Included (No Account Required!)

The best part? OpenCode Zen includes free AI models — no account required:

  • Big Pickle — Free (limited time)
  • MiniMax M2.5 Free — Free (limited time)
  • Kimi K2.5 Free — Free (limited time)
  • GPT 5 Nano — Free

Your AI coding assistant can literally cost $0 per month. Just install OpenCode and start coding.

Of course, you can also connect your own API keys from:

  • GitHub Copilot (use your existing subscription)
  • ChatGPT Plus/Pro (use your existing subscription)
  • Anthropic, OpenAI, Google, or any other provider

System Requirements

OpenCode is lightweight and runs on minimal hardware:

  • Node.js 18+ (Node.js 22 recommended)
  • Any modern Linux distribution (Ubuntu recommended)
  • No heavy RAM requirements — works great on 4GB+

All of these plans come with one month FREE when you use our coupon codes:

Plan RAM Storage Network Coupon
VPS Lite G12s 4-32 GB up to 640 GB SSD 2.5 Gbit From 4 EUR/mo
VPS 1000 G12 8 GB ECC 256 GB NVMe 2.5 Gbit 1 month free
VPS 2000 G12 16 GB ECC 512 GB NVMe 2.5 Gbit 1 month free

New to netcup? Grab one of our 5 EUR off coupons to make your first purchase even cheaper!

Installation

Once you’ve ordered your VPS and received the login credentials, SSH into your server:

ssh root@your-server-ip

Then run the OpenCode installer:

curl -fsSL https://opencode.ai/install | bash

The installer will set up OpenCode on your system. Once complete, navigate to your project and initialize:

cd /path/to/your/project
opencode
/init

Configuration

Run the /connect command to configure your AI provider:

/connect

Select OpenCode Zen for free models, or choose any other provider like Anthropic, OpenAI, or GitHub Copilot.

For OpenCode Zen, you can sign in at opencode.ai/auth to get your API key.

Expose the Web UI

Want to code from your browser? OpenCode includes a web interface:

opencode web --hostname 0.0.0.0 --port 4096

Important: Set a password to secure your server:

OPENCODE_SERVER_PASSWORD=your-secret-password opencode web --hostname 0.0.0.0 --port 4096

Now you can access OpenCode from anywhere at http://your-server-ip:4096

Next Steps

After installation, check out the OpenCode documentation to learn about:

Conclusion

With OpenCode on a netcup VPS, you get a powerful AI coding assistant that:

  • Costs $0 with free Zen models
  • Runs on your own infrastructure
  • Has no rate limits from closed-source vendors
  • Can be accessed from anywhere via the web UI

Use our coupon codes to get one month free on select plans, and if you’re a new customer, save an additional 5 EUR. Happy coding!