Install Keenrig
One command on a fresh server. You do not need a domain or a cloud account; both can come later.
Requirements
- Operating system
- Ubuntu 22.04, 24.04 or 26.04 LTS
- Memory
- 2 GB RAM recommended (n8n alone wants 1 GB)
- Ports
- 80 and 443 open to the internet — or pair with Keenrig Cloud to go through a tunnel
- Access
- root, or a user with sudo
Run the installer
Connect to your server over SSH.
Run the command below. The installer checks the machine, starts Keenrig, then tests ports 80 and 443 from outside and tells you plainly what it found.
curl -fsSL https://get.keenrig.com | sudo shWant to read the script first? It is plain POSIX sh:
curl -fsSL https://get.keenrig.com | lessOpen the address it prints (https://<server-ip>/ — the certificate is self-signed, so the browser warns once), get the setup token with the command below, and create the owner account.
journalctl -u keenrig-box | grep 'setup token'
Installer flags
Pass flags after `sh -s --`, for example: curl -fsSL https://get.keenrig.com | sudo sh -s -- --domain example.com
--domain <fqdn> | Domain for the admin panel. Optional; you can set it later. |
|---|---|
--join <token> | Pair with Keenrig Cloud. The Console prints the command with this token. |
--gateway <name> | caddy (default and, today, the only one that works). The installer also accepts nginx and nginx-owasp, but the server does not start with them yet. |
--channel <name> | Release channel, stable by default. |
--auto-upgrade · --no-auto-upgrade | Turn automatic upgrades on (the default) or off. |
--upgrade | Upgrade an installed server to the channel’s latest release; rolls back on its own if the health check fails. |
If the server cannot be reached from the internet
The installer says so plainly when nothing answers on ports 80/443 — usually closed ports, a firewall, or a home connection behind CGNAT. The server is still installed and running. If it is paired with Keenrig Cloud, the installer sets up a Cloudflare tunnel so the admin panel is reachable without opening any port; apps still need ports 80/443.
After install
Open Catalog in the admin panel, pick an app and press Install. The free tier has no limit on apps.
Read next, when you need it: