CodeHero · Your own AI software factory
Installation guide
Install directly on Ubuntu.
CodeHero installed straight on a computer or server that runs Ubuntu 24.04 LTS — no virtual machine. Best on a machine you dedicate to it.
Installation is manual for now: you create the machine, install Ubuntu and run the installer from the release ZIP.
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.zipfor this route (X.Y.Z is the version).
Prepare the machine
- Use a computer or server with Ubuntu 24.04 LTS (Server or Desktop). CodeHero installs its own database, web server and services on it, so a machine you dedicate to it is best.
- No Ubuntu yet? Install it from the Ubuntu Server 24.04 LTS ISO (on an ARM server, the ARM version and the
arm64ZIP). - Check the version:
lsb_release -amust show Ubuntu 24.04.
Copy the ZIP into Ubuntu
In Ubuntu, find its address:
hostname -IOn 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.shOptional, 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.shThen 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.shIf 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 nginxRestart them with sudo systemctl restart codehero-web codehero-daemon.
Questions people ask
All the articlesHow 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