Package Manager Panel Installation
No extension support
The package manager installation method does not support extensions in any capacity. If you need extensions, use the Docker installation instead.
Install Calagopus Panel directly from the APT, RPM or APK repository, or from the Arch User Repository (AUR). Run sudo -v first so a password prompt doesn't swallow the rest of a pasted block. If your system doesn't have sudo, like Alpine, run the commands as root and leave it out.
This installs PostgreSQL, Valkey and the Panel. Already have PostgreSQL and Valkey? Leave out the lines that install and start them. You can substitute Redis for Valkey, though Valkey is notably faster.
If you only plan to run a single node (Panel + Wings on the same host), pick the All-in-One block. It bundles Wings alongside the Panel so you don't need to install it separately.
Select your package manager:
Install the Packages
Add the PostgreSQL APT repository following this guide, then run:
sudo apt update
sudo apt install -y postgresql-18 valkey
sudo systemctl enable --now postgresql valkey-server
sudo curl -fsSL https://packages.calagopus.com/pub.gpg -o /usr/share/keyrings/calagopus-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/calagopus-archive-keyring.gpg] https://packages.calagopus.com/deb stable main" | sudo tee /etc/apt/sources.list.d/calagopus.list
sudo apt update
sudo apt install -y calagopus-panelsudo apt update
sudo apt install -y postgresql-18 valkey
sudo systemctl enable --now postgresql valkey-server
sudo curl -fsSL https://packages.calagopus.com/pub.gpg -o /usr/share/keyrings/calagopus-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/calagopus-archive-keyring.gpg] https://packages.calagopus.com/deb stable main" | sudo tee /etc/apt/sources.list.d/calagopus.list
sudo apt update
sudo apt install -y calagopus-panel-aioCreate the Database and Configuration
This creates the database user and database, downloads the example .env to /etc/calagopus, and fills in a random APP_ENCRYPTION_KEY and DATABASE_URL. Run it once: running it again replaces the .env and its encryption key.
DB_PASSWORD=$(cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
sudo -u postgres psql <<SQL
CREATE USER calagopus WITH PASSWORD '$DB_PASSWORD';
CREATE DATABASE panel OWNER calagopus;
GRANT ALL PRIVILEGES ON DATABASE panel TO calagopus;
SQL
sudo mkdir -p /etc/calagopus
sudo curl -o /etc/calagopus/.env https://raw.githubusercontent.com/calagopus/panel/refs/heads/main/.env.example
RANDOM_STRING=$(cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)
sudo sed -i -e "s/CHANGEME/$RANDOM_STRING/g" /etc/calagopus/.env
sudo sed -i -e "s|^DATABASE_URL=.*|DATABASE_URL=\"postgresql://calagopus:$DB_PASSWORD@localhost:5432/panel\"|" /etc/calagopus/.envREDIS_URL defaults to redis://localhost and can stay as-is unless Valkey/Redis is on another host. See the Environment Configuration reference for every other variable.
Test the Configuration
Run the panel once from /etc/calagopus, because it looks for the .env in the current directory:
cd /etc/calagopus
sudo calagopus-panelIf everything is configured correctly the panel will start the HTTP server without errors. Kill it with Ctrl-C.
Install as a Service
This creates and enables a service that starts on boot, then shows its status:
sudo calagopus-panel service-install
sudo systemctl status calagopus-panel --no-pagerThe panel is now available at http://<your-server-ip>:8000 and will show the OOBE (Out Of Box Experience) setup screen.
