1. Install on a VPS
Requirements: a fresh Ubuntu 22.04/24.04 or Debian 12 server with root access. A 2 vCPU / 4 GB RAM / 50 GB SSD VPS is enough for contracts and dApps. Choose 4 vCPU / 8 GB if you run several agents at once. The installer is designed for a single owner, not a shared multi-tenant host.
SSH into the server as root, then run the one-line command shown on Get a server:
curl -fsSL https://coide.fun/install.sh | sudo bash -s -- https://coide.fun
Replace both URLs with your own domain if you host the site elsewhere. The installer takes roughly 5–15 minutes. It installs Node 22, Git, build tools, Foundry (forge, cast, anvil), the coding agents, Caddy for HTTPS, and a systemd service. On servers under 8 GB of RAM it also creates a 2 GB swap file.
Useful installer options
| Option | Effect |
|---|---|
COIDE_DOMAIN=dev.example.com | Use your own domain instead of the free <ip>.sslip.io hostname. Point an A record at the server first. |
COIDE_NETWORK=mainnet | Point forge and cast at Robinhood Chain mainnet instead of testnet. Use it only once you know what you deploy. |
COIDE_SSH_PORT=2222 | Keep a non-standard SSH port open. The installer also tries to detect it automatically. |
COIDE_SWAP=0 / COIDE_SWAP_MB=2048 | Skip swap creation, or change its size. |
COIDE_AGENTS=0 | Skip the global coding agents. |
COIDE_SUDO=1 | Give the dev user passwordless sudo. Off by default: agents and terminals run as dev, so no sudo keeps a prompt injection or a leaked key from owning the whole server. |
2. First login
At the end, the installer prints two things:
- The workspace URL, usually
https://<ip>.sslip.io/app/. - A one-time setup code like
ABCD-2345.
Open the URL, choose Email or your wallet (MetaMask, Rabby or any EVM wallet), and create the first account with the setup code. That account becomes the owner/admin. Nobody else can sign up on a personal install (MAX_USERS=1), and subsequent signups are refused.
If you lose the setup code before creating the account, read it from /opt/coide/server/.env as root. Once the owner exists, the setup code is no longer needed.
3. Workspace
- Projects: create a project from a template or a blank folder. Files live under
/home/dev/workspaceon the server. - Templates: Robinhood Chain dApp (wallet connect, network switch, ETH balance, contract read), Smart contract (Foundry Counter with tests) and ERC-20 token (Foundry, with tests).
- Terminal: a real PTY in the browser. On a personal install it runs as the
devuser on the VPS, so it has access to the same files as the editor. - Files: create, edit, rename, delete and upload files. Path traversal outside the project is blocked.
- Preview: serves static files from the project over the same authenticated app. It also serves a built
dist/,build/orout/folder when present, with a single-page fallback. It is not a general port-forwarding proxy: for Vite, Next oranvil, use the Dev server helper in the Preview tab to copy an SSH tunnel command, then openhttp://localhost:<port>on your computer.
Preview a dev server (Vite, Next, anvil)
Run the dev server in the Terminal, then forward its port to your computer:
ssh -N -L 5173:127.0.0.1:5173 root@YOUR-SERVER
Open http://localhost:5173 locally. Replace root with your SSH user and 5173 with the port your server listens on (anvil uses 8545). The Preview tab has a Dev server button that builds and copies this command for you.
Static builds work directly: run npm run build, then reload the Preview tab. If the project has a dist/, build/ or out/ folder with an index.html, Coide serves it instead of the source folder.
4. Coding agents
The installer installs Claude Code, Codex, Gemini CLI, Grok Build and OpenCode globally for the dev user. Open the Agents tab (or the Agents list in the sidebar) and click Sign in with Claude, Sign in with ChatGPT, Sign in with Google, Sign in with Grok or Sign in with a provider. Each button types the sign-in command into your terminal; open the link it prints on your own computer, approve, and the status turns to Connected by itself.

The same commands, if you prefer typing them:
claude auth login # Claude Pro/Max or Anthropic Console
codex login --device-auth # ChatGPT Plus/Pro (device code, works over SSH)
NO_BROWSER=true gemini # Google account or Gemini API key
grok login --device-auth # grok.com account or XAI_API_KEY
opencode auth login # Anthropic, OpenAI, OpenRouter and more
Agent subscriptions and model usage are billed by the agent providers, not by Coide. Credentials are stored in the dev user's home on your server and never leave it.
5. Parallel agents and history
This is what a classic IDE does not do for you.
Tasks: several agents at once
In the Tasks tab, pick an agent, describe a task and press Start task. Start another one with a different agent right away. Each task gets its own copy of the project (dependencies are shared, not copied), so agents never step on each other or on your files. Tasks run on your server and keep going after you close the tab.
When a task is done, View changes shows the diff and the agent's log. Apply to project copies its changes into your real project; if you edited the same files in the meantime, Coide lists them and asks before overwriting. Discard throws the copy away. Claude Code, Codex, Gemini CLI and OpenCode can run tasks; Grok Build works in the terminal for now. Up to 4 tasks run at the same time (MAX_PARALLEL_TASKS in .env).

History: every change, with undo
Coide keeps a private history of each project, separate from your own Git repository (it never commits to it). A checkpoint is saved when you save a file in the editor, when you apply a task, and every 40 seconds while a terminal is open, labelled with the agent that was working at that moment (Claude Code, Codex…).
In the History tab, pick a checkpoint to see its diff. Undo this change reverts only that checkpoint and keeps everything after it; Go back to this point puts the whole project back the way it was. Both save the current state first, so you can always come back. Generated folders (node_modules, out, cache, broadcast, dist…) are not tracked.

6. Robinhood Chain toolchain and one-click deploy
Robinhood Chain is an Ethereum-compatible (EVM) chain, so Coide installs Foundry: forge to build, test and deploy Solidity contracts, cast to read and send transactions, anvil for a local chain and chisel as a Solidity shell. Foundry downloads the Solidity compiler on first build.
Deploy in one click
Open a Foundry project (one with a foundry.toml, like the Smart contract and ERC-20 templates), pick the contract in the Deploy tab, fill in its constructor arguments if it has any, and press Deploy. Coide then:
- checks the dev wallet (the encrypted Foundry keystore
coide-deploy), creates it if needed and reads its ETH balance; - runs
forge build; - runs
forge test(untick Run tests first to skip it); - runs
forge createand shows the contract address with a link to the explorer.

A new wallet starts empty. When the balance is too low, the Deploy tab shows the wallet address with a button to copy it and a link to the testnet faucet: get some testnet ETH, then press Deploy again. Mainnet deploys ask you to type mainnet to confirm and spend real ETH from the server wallet: use a separate wallet with only what the deploy costs.
From the terminal
The terminal points forge and cast at Robinhood Chain testnet (chain ID 46630) through $ETH_RPC_URL. $RH_EXPLORER and $RH_FAUCET hold the explorer and the testnet faucet.
cast chain-id # 46630 on testnet
mkdir -p ~/.foundry/keystores
cast wallet new ~/.foundry/keystores dev # throwaway dev wallet, encrypted
cast wallet address --account dev
echo $RH_FAUCET # free testnet ETH
forge build && forge test
forge create src/Counter.sol:Counter --account dev --broadcast
| Testnet | Mainnet | |
|---|---|---|
| Chain ID | 46630 | 4663 |
| RPC | https://rpc.testnet.chain.robinhood.com | https://rpc.mainnet.chain.robinhood.com |
| Explorer | explorer.testnet.chain.robinhood.com | robinhoodchain.blockscout.com |
| Gas | ETH | |
The public RPCs are rate-limited. For heavier use, set ETH_RPC_URL to a provider endpoint (Alchemy, QuickNode, Chainstack…) in ~/.bashrc. Network details come from Robinhood's chain docs.
7. Updates, backups and recovery
Update
Run the same install command again. The installer downloads the new package, verifies it, keeps server/data and server/.env, replaces the code, reinstalls dependencies and restarts the service. If the download or extraction fails, it leaves the old install untouched. If a later step fails, it prints the temporary backup path instead of deleting it.
Backup
sudo tar -czf /root/coide-backup-$(date +%F).tar.gz \
-C /opt/coide server/data \
-C /home/dev workspace
Copy the archive off the VPS (object storage, another machine, etc.). The database is a JSON file in server/data; the projects are in /home/dev/workspace.
Reset a password
sudo -u dev bash -lc 'cd /opt/coide/server && node server.mjs --reset-password you@example.com'
It prints a new random password and revokes existing sessions. To choose the password yourself, add it as the second argument.
Logs
journalctl -u coide -f
tail -n 200 /var/log/coide-install.log
8. Security
- Wallets: the workspace starts on Robinhood Chain testnet and the templates use a throwaway dev wallet. Keep your real wallet on your own device: a seed phrase stored on any internet-connected server can leak.
- HTTPS is automatic via Caddy; the app listens on
127.0.0.1:3100behind the proxy. - The firewall only opens SSH, HTTP and HTTPS. The installer detects the real SSH port; use
COIDE_SSH_PORTif your provider uses NAT. - The first account is protected by the setup code. After that, signups are closed on a personal install.
- Sessions are signed, HttpOnly, SameSite=Lax and Secure behind HTTPS. WebSockets check the Origin and require a session.
- The
devuser does not have sudo by default. Agents and terminals run as this user, so a prompt injection or a leaked key cannot take over the whole server. Opt in withCOIDE_SUDO=1only if you need it. - Agents are code execution. Treat them like an untrusted collaborator: keep real wallets and production keys off the server, review diffs before deploying, and prefer testnet. The terminal and agents can read every file the
devuser can read. - In personal mode the terminal runs on the host as
dev. Do not add untrusted users to a personal install; use the Docker sandbox for a shared server.
9. Troubleshooting
The installer failed
Read the last lines of /var/log/coide-install.log. If it failed during an update, look for Update failed. Your previous data and .env are kept in: /tmp/... and restore that folder before retrying.
The service does not start
systemctl status coide --no-pager
journalctl -u coide -n 80 --no-pager
curl -i http://127.0.0.1:3100/api/config
HTTPS is not issued
Check that ports 80 and 443 are reachable from the internet and that the domain's A record points to the server. For sslip.io, no DNS setup is needed. Caddy logs: journalctl -u caddy -n 80 --no-pager.
A build or an agent runs out of memory
Use a 4 vCPU / 8 GB VPS, or confirm swap is active with swapon --show. The installer adds 2 GB swap when no swap exists and RAM is under 8 GB.
Deploy says the toolchain is missing
Foundry is not in the dev user's PATH. Run the install command again: it reinstalls Foundry and keeps your projects and settings.
A task failed straight away
Open its log (View log). Most of the time the agent is not signed in: use its button in the Agents tab, then start the task again.
An agent is missing
Install it in the terminal with npm (for example npm install -g opencode-ai), then reload the Agents tab. The server prefers the global binary in your PATH.
10. Current limits
- Self-hosted only. There is no hosted Coide account or Coide billing. You pay your VPS provider.
- Static preview only. The app does not proxy arbitrary dev-server ports. Built folders (
dist/,build/,out/) are served; for a live Vite/Next/anvil server, use the SSH tunnel helper in the Preview tab or a tunnel. - No email. Invitations are codes, and password recovery is the CLI command above.
- Backups are manual. No automatic off-site backup is configured.
- Single owner. Personal mode is limited to one account. A shared multi-user deployment needs the Docker sandbox and the hosted configuration.


