Quick Start
Overview#
Gritiva turns any Linux server into managed capacity you control from one panel at gritiva.com. You install a small agent on your VM; the panel then gives you INFRA → Scopes (isolated app environments without a container runtime), domains with automatic HTTPS, and a mesh network that connects your machines across clouds and NAT.
This page takes you from a bare VM to an agent that shows up Online in your dashboard — about two minutes of work.
Prerequisites#
- A Linux VM (kernel 5.15+) with root or sudo SSH access — Hetzner, AWS, DigitalOcean, or a box at home all work.
- A Gritiva account — sign in at gritiva.com.
[!NOTE] The agent enrolls the VM into your private mesh and can adjust its network configuration during setup. If the VM is remote, keep your provider's web console handy the first time.
Step 1: Install the agent#
In the panel, click Add VM (top right) — it shows this same command with copy button. Or paste it straight into your VM:
BASH curl -fsSL https://gritiva.com/install-gritiva.sh | sudo bash
Installation takes about a minute. It installs the agent binary to /opt/gritiva/ and registers a gritiva-agent systemd service.
Step 2: Connect it to your account#
Run the setup step and follow the prompts:
BASH sudo /opt/gritiva/gritiva-agent setup
Setup prepares the VM (base image, networking) and prints a connect code like GRTV-XXXX-XXXX. Approve it in your browser:
TEXT https://gritiva.com/connect?code=GRTV-XXXX-XXXX
Refresh the panel — your VM appears with a green Online dot.
Step 3: Deploy something#
Everything from here happens in the panel:
- Create a Scope on your VM — an isolated environment with its own resources. See Concepts: Scope.
- Deploy a service into it — paste a GitHub repository URL and Gritiva clones, detects, and runs it, or start from a template.
- Attach a domain — point a domain at your service and Gritiva handles routing and HTTPS. See Sharing and Public Domains.
For a full worked example, follow Creating Your First VM and then Tutorial: Deploy a Rails app.
Troubleshooting#
The VM never shows Online. Check the agent on the VM:
BASH sudo systemctl status gritiva-agent sudo journalctl -u gritiva-agent -n 50
connect code expired — codes are short-lived; run sudo /opt/gritiva/gritiva-agent setup again for a fresh one.
Lost SSH during setup. Setup pins SSH to the mesh as part of enrollment; reconnect via your provider console, then see Common Errors.
Still stuck? Common Errors covers the messages we see most, and every page here has a Report issue link.