Skip to content

Installation

Vorpal provides a single install script that downloads the latest release, generates TLS keys for secure communication between components, and starts the background services.

Vorpal supports the following platforms:

OSArchitecture
macOSApple Silicon (ARM64)
macOSIntel (x86_64)
Linuxx86_64
LinuxARM64

Run the install script:

Terminal window
curl -fsSL https://raw.githubusercontent.com/ALT-F4-LLC/vorpal/main/script/install.sh | bash

The installer performs three steps:

  1. Downloads the Vorpal binary to ~/.vorpal/bin/vorpal and adds it to your PATH.
  2. Generates TLS security keys using vorpal system keys generate. These keys secure communication between the Vorpal CLI and its background services.
  3. Installs and starts background services that handle builds, caching, and artifact storage.

On macOS, services run via a LaunchAgent (com.altf4llc.vorpal). On Linux, services run via a systemd user unit (vorpal.service).

The installer accepts the following flags. When piping through curl, pass flags after bash -s --:

FlagDescription
-y, --yesRun in non-interactive mode (skip prompts)
-v, --version <ver>Version to install (default: nightly)
--services <list>Comma-separated services to install (default: agent,registry,worker)
--no-serviceSkip service installation
--no-pathSkip PATH configuration
--dry-runShow what would be done without making changes
--uninstallUninstall Vorpal
-h, --helpShow the help message

For example, to install only the agent and worker services:

Terminal window
curl -fsSL https://raw.githubusercontent.com/ALT-F4-LLC/vorpal/main/script/install.sh | bash -s -- --services agent,worker

To install a specific version without starting any services:

Terminal window
curl -fsSL https://raw.githubusercontent.com/ALT-F4-LLC/vorpal/main/script/install.sh | bash -s -- --version v0.1.0 --no-service

As an alternative, the installer also accepts environment variables. These are useful when piping through curl without bash -s --:

VariableEffect
VORPAL_NONINTERACTIVE=1Enable non-interactive mode
CI=trueEnable non-interactive mode
VORPAL_VERSION=<ver>Version to install (default: nightly)
VORPAL_SERVICES=<list>Comma-separated services to install (default: agent,registry,worker)
VORPAL_NO_SERVICE=1Skip service installation
VORPAL_NO_PATH=1Skip PATH configuration
VORPAL_DRY_RUN=1Show what would be done without making changes
NO_COLOR=1Disable color output

Note that CI and NO_COLOR are environment-variable-only options with no flag equivalents. Conversely, --uninstall and --help are flag-only with no environment variable equivalents.

For example, using environment variables:

Terminal window
VORPAL_SERVICES=agent,worker \
curl -fsSL https://raw.githubusercontent.com/ALT-F4-LLC/vorpal/main/script/install.sh | bash

After installation, confirm Vorpal is available:

Terminal window
vorpal --version

Check that background services are running:

Terminal window
# macOS
launchctl list | grep vorpal
# Linux
systemctl --user status vorpal.service

Check the service logs for error details:

Terminal window
# macOS
cat /var/lib/vorpal/log/services.log
# Linux
journalctl --user -u vorpal.service --no-pager -n 20

Common causes include port conflicts (another process using the Vorpal socket) and permission issues on /var/lib/vorpal.

To restart services manually:

Terminal window
# macOS
launchctl bootout gui/$(id -u)/com.altf4llc.vorpal
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.altf4llc.vorpal.plist
# Linux
systemctl --user restart vorpal.service

If you need to build Vorpal from source instead of using the install script, see the contributing guide for build instructions.

With Vorpal installed, head to the Quickstart to create and build your first project.