Skip to main content

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:

  1. checks that your domain points at the server and that the server is big enough;
  2. installs Docker if it is missing (after asking you);
  3. runs the installer and waits for it (5 to 15 minutes);
  4. checks every service is running and HTTPS works;
  5. 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 A record pointing at it (for example nuroute.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.

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."

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.