Install with an AI agent
Would you rather not type the install steps yourself? An AI coding agent is a helper that lives in your terminal. You tell it what you want, and it types the commands for you. It can do the installation on your server with one command.
It follows NuRoute's own agent instructions. In order, it:
- checks that your domain points at the server and that the server is big enough;
- installs Docker if it is missing (after asking you);
- runs the installer and waits for it (5 to 15 minutes);
- checks every service is running and HTTPS works;
- tells you how to activate NuRoute in the browser.
It is careful. The agent asks before every command that changes your server. It never needs your licence key, provider keys or passwords. You type those in the browser afterwards.
Before you start
- A server that meets the requirements, and your domain's DNS
Arecord pointing at it (for examplenuroute.acme.com). - An account for one of the agents below.
Log in to the server over SSH (a safe remote login) as the user that will run NuRoute (not root). Then pick your agent.
Run it
Replace nuroute.acme.com with your own domain.
- Claude Code
- GitHub Copilot CLI
- OpenAI Codex
First install Claude Code and sign in. It prints a link to open in your browser:
curl -fsSL https://claude.ai/install.sh | bash
claude
Then, from your home folder:
claude "Install NuRoute self-hosted on this server for the domain nuroute.acme.com. Follow https://raw.githubusercontent.com/NuRoute-ai/nuroute-selfhosted/main/AGENTS.md step by step."
You need a GitHub Copilot plan and Node.js 22 or newer. Install it and sign in with /login:
npm install -g @github/copilot
copilot
Then, from your home folder:
copilot -i "Install NuRoute self-hosted on this server for the domain nuroute.acme.com. Follow https://raw.githubusercontent.com/NuRoute-ai/nuroute-selfhosted/main/AGENTS.md step by step."
You need a ChatGPT plan or an OpenAI API key, and Node.js 22 or newer. Install it and sign in:
npm install -g @openai/codex
codex login
Then, from your home folder:
codex "Install NuRoute self-hosted on this server for the domain nuroute.acme.com. Follow https://raw.githubusercontent.com/NuRoute-ai/nuroute-selfhosted/main/AGENTS.md step by step."
Codex runs commands in a sandbox without internet access by default. When it asks, approve its requests to download Docker and NuRoute.
When the agent is done, continue with Activate NuRoute in your browser.
Later: upgrades, backups and support
The installed folder, ~/nuroute, holds the same instructions (AGENTS.md; Claude Code reads them through CLAUDE.md). Start your agent in that folder and ask it things like:
- "Upgrade NuRoute to 1.1.0." (It reads the release notes, backs up and upgrades.)
- "Make a backup."
- "Give me a password reset link for jane@acme.com."
- "Make a support bundle for NuRoute support."
What to watch
- Read each command before you approve it, especially anything with
sudo(the "run as administrator" word). - The agent must not show you
.env. That file holds your encryption keys, and the instructions forbid printing it. Back it up yourself, as Backups and upgrades describes. - If the agent reports an error, the same message is explained on Troubleshooting.