CodeHero · Your own AI software factory

Installation guide

Install on Windows Pro.

A virtual machine with Hyper-V, which is built into Windows 10/11 Pro, Enterprise and Education.

Installation is manual for now: you create the machine, install Ubuntu and run the installer from the release ZIP.

← All installation guides

What you need

  • A computer with at least 1 CPU core, 4 GB RAM and 40 GB free disk for CodeHero, plus an ordinary internet connection. With 8 GB RAM it runs comfortably.
  • Ubuntu Server 24.04 LTS — the guides use this version.
  • The CodeHero release ZIP supplied with your licence: codehero-pro-release-X.Y.Z-x86_64.zip for this route (X.Y.Z is the version).

Create the virtual machine

  1. Turn on Hyper-V: Start → “Turn Windows features on or off” → tick “Hyper-V”, OK, and restart Windows.
  2. Download the Ubuntu Server 24.04 LTS ISO (x86_64).
  3. Open Hyper-V Manager → Virtual Switch Manager → New virtual network switch → External, choose your Wi-Fi or Ethernet, and apply. Ubuntu then gets its own address on your network.
  4. Choose New → Virtual Machine: name codehero, Generation 2, startup memory 4096 MB or more, connection: the external switch, a new virtual hard disk of 40 GB or more, and install from the ISO.
  5. Before starting it: Settings → Security → keep Secure Boot on and set the template to “Microsoft UEFI Certificate Authority” (Ubuntu will not boot with the default Windows template).

Install Ubuntu

  1. Start the machine from the Ubuntu Server 24.04 LTS ISO. Choose language and keyboard.
  2. Keep the network settings the installer finds; note the IP address it shows.
  3. Choose “Use an entire disk” — inside a virtual machine this is the virtual disk you created, not your computer’s disk.
  4. Create your user name and password, and remember them.
  5. Tick “Install OpenSSH server”: you will use it to copy the ZIP in. Skip the optional extras.
  6. When it finishes, choose “Reboot Now”, remove the ISO if asked, and log in with your user.

Copy the ZIP into Ubuntu

In Ubuntu, find its address:

hostname -I

On your own computer, open a terminal (on Windows: PowerShell; on Mac: Terminal) in the folder where the ZIP is, and copy it in — replace USER with your Ubuntu user and IP with the address:

scp codehero-pro-release-X.Y.Z-x86_64.zip USER@IP:~

Type your Ubuntu password when asked. The ZIP lands in your home folder in Ubuntu.

Install CodeHero

In Ubuntu (directly, or over ssh USER@IP from your computer):

sudo apt update
sudo apt install -y unzip
sudo mv ~/codehero-pro-release-*.zip /root/
sudo su
cd /root
unzip codehero-pro-release-*.zip
cd codehero
chmod +x setup.sh
./setup.sh

Optional, before ./setup.sh: set your own passwords in install.conf (nano install.conf).

The installer sets up the database, the web panel and the services. It takes about 10–15 minutes; keep the terminal open. At the end it shows the addresses and the sign-in details.

Open the panel

On your computer, open a browser at https://IP:9453. The browser warns about the certificate the first time, because it is created on your machine — continue to the site. Sign in with the details the installer showed at its end (the password is generated for your server; sudo cat /etc/codehero/credentials.conf shows it again) and turn on two-factor authentication:

sudo /opt/codehero/scripts/change-passwords.sh

Then connect at least one AI in the panel’s settings: an API key, or a sign-in to a subscription (Claude Code, Codex, Grok Build). Your applications open on port 9867.

Upgrade

Copy the new release ZIP in the same way, extract it and run the upgrade. Projects, tickets and settings are kept.

sudo su
cd /root
rm -rf codehero codehero-pro-release-*.zip
mv /home/USER/codehero-pro-release-*.zip /root/
unzip codehero-pro-release-*.zip
cd codehero
./upgrade.sh

If something fails

If the panel does not open, check that Ubuntu is running, that the address is the current one (hostname -I) and that the services are up:

sudo systemctl status codehero-web codehero-daemon mysql nginx

Restart them with sudo systemctl restart codehero-web codehero-daemon.

Questions people ask

All the articles
How does CodeHero compare with other AI coding tools?

It is a different kind of thing. Coding tools help a person who writes code. CodeHero does the whole job — asks, plans, builds, checks, hosts and maintains — for the person who knows the business. Read the article

If CodeHero writes the code, what is my role?

You become the advisor: you decide the business rules, approve the plan and accept the result. CodeHero is the developer that asks, builds, checks and maintains. Read the article

Do my passwords and keys reach the AI company?

CodeHero removes the secrets you store from what the AI is shown, and checks every request that leaves for the AI company once more, at the last step; a check that cannot finish stops the request. The one exception is the call that renews your login, which carries no ticket work. For tickets on a subscription (Claude Code, Codex, Grok) the check is forced only with «Ticket sandbox» on; with it off it catches mistakes only. It cannot hide what it does not know: a password typed in a chat, a key only in a config file, a screenshot. Store every password as a secret — never in a chat message or a screenshot. Read the article