H
Hylius Docs

Getting Started with Hylius

Hylius is a self-hosted deployment platform that lets you deploy any application to your own VPS with the same ease as Vercel or Render — without giving up control of your infrastructure.


How It Works

Hylius gives you two ways to deploy:

  • Hylius Dashboard — a web UI where you connect servers, import GitHub repos, trigger deploys, and manage env vars visually
  • Hylius CLI — a command-line tool for provisioning, deploying, and generating CI/CD pipelines

Both methods connect to your VPS over SSH, clone your repo, build a Docker image (or use Railpack if you have no Dockerfile), and run it — with zero-downtime atomic deploys. Every deployment is versioned and symlink-swapped, so rollbacks are instant.


Prerequisites

Before you begin, you'll need:

  • A Linux VPS (Ubuntu 22.04+, Debian, or Alpine recommended) with SSH access
  • Node.js 18+ installed on your local machine
  • Your VPS's IP address, SSH username, and either a password or an SSH private key
  • A Git repository containing your project (GitHub, GitLab, Codeberg, etc.)

Installation

Install the Hylius CLI globally via npm:

bashnpm install -g hylius

Verify the installation:

bashhylius --version

Quick Start (3 steps)

Step 1 — Provision your VPS

Run hylius setup once to install Docker, Railpack, and configure your server's firewall:

bashhylius setup

The CLI will prompt you for your VPS credentials. See Server Provisioning for full details.

Step 2 — Deploy your app

Navigate to your project directory and run:

bashhylius deploy

The CLI will ask for your VPS connection details and Git repo URL, then deploy atomically with zero downtime.

Step 3 — (Optional) Automate with CI/CD

To deploy automatically on every git push, generate a GitHub Actions workflow:

bashhylius ci-generate

See the CI/CD Guide for the full workflow.


Command Reference

CommandDescription
hylius setupProvision a fresh VPS with Docker + security hardening
hylius deployDeploy your app to your VPS (interactive or headless)
hylius ci-generateGenerate GitHub Actions workflow files
hylius ci-generate --daggerGenerate a Dagger-powered pipeline (GHCR builds + preview deploys)
hylius ci-generate --fullGenerate setup + deploy pipeline

Supported Frameworks

Hylius auto-detects your project type using Railpack and generates the optimal Docker config:

FrameworkDetection Signal
Next.jsnext.config.* file
Vitevite.config.ts/js file
Node.jspackage.json
Python / FastAPIrequirements.txt, pyproject.toml
Laravelcomposer.json + artisan
Gogo.mod
Javapom.xml
Generic PHPcomposer.json

If Hylius detects no framework, it will prompt Docker's built-in docker init command to guide configuration.

📘 Note
You can bypass auto-detection and use your own Dockerfile or compose.yaml. Hylius will always prefer existing Docker files over auto-generated ones.

Next Steps

Next
Using the Dashboard
Edit this page on GitHub