Installation
Vela ships as two static binaries: the vela CLI for your workstation and CI, and the velad server, which is normally run from the official Docker image.
Requirements
| Component | Requirement |
|---|---|
CLI (vela) | Linux, macOS or Windows on amd64 or arm64. No runtime dependencies. |
Server (velad) | Docker with linux/amd64 or linux/arm64, or any Linux host for the static binary. One writable data directory. |
| Building from source | Git, Make and the Go toolchain pinned in go.mod (currently Go 1.27). No C compiler: builds are cgo-free. |
| Production | A domain name and a TLS-terminating reverse proxy such as nginx or Caddy. |
Installing the CLI
From release archives
Every tagged release on GitHub Releases includes CLI archives for six platforms plus a checksums.txt:
| Platform | Archive |
|---|---|
| Linux x86-64 | vela_<version>_linux_amd64.tar.gz |
| Linux ARM64 | vela_<version>_linux_arm64.tar.gz |
| macOS Intel | vela_<version>_darwin_amd64.tar.gz |
| macOS Apple silicon | vela_<version>_darwin_arm64.tar.gz |
| Windows x86-64 | vela_<version>_windows_amd64.zip |
| Windows ARM64 | vela_<version>_windows_arm64.zip |
VERSION=v0.9.0
OS=linux ARCH=amd64 # or darwin / arm64
curl -fsSLO "https://github.com/x-chunk/vela/releases/download/$VERSION/vela_${VERSION}_${OS}_${ARCH}.tar.gz"
curl -fsSLO "https://github.com/x-chunk/vela/releases/download/$VERSION/checksums.txt"
sha256sum --ignore-missing -c checksums.txt # macOS: shasum -a 256 --ignore-missing -c checksums.txt
tar -xzf "vela_${VERSION}_${OS}_${ARCH}.tar.gz"
sudo install -m 0755 "vela_${VERSION}_${OS}_${ARCH}/vela" /usr/local/bin/vela
vela version
$Version = "v0.9.0"
Invoke-WebRequest "https://github.com/x-chunk/vela/releases/download/$Version/vela_${Version}_windows_amd64.zip" -OutFile vela.zip
Expand-Archive vela.zip -DestinationPath .
# Move vela.exe to a directory on your PATH, then:
vela version
Each archive contains the vela binary and the LICENSE.
With go install
If you have a Go toolchain, install directly from the module path:
go install go.xchunk.org/vela/cmd/vela@latest # or @v0.9.0
The binary lands in $(go env GOBIN) or $(go env GOPATH)/bin. Version information comes from the module build info, so vela version reports the tag you installed.
From source
git clone https://github.com/x-chunk/vela.git
cd vela
make install # installs vela with version, commit and date embedded
make build # or: build both binaries into ./bin
make build produces bin/vela and bin/velad with -trimpath, CGO_ENABLED=0 and version ldflags. make dist builds the same release archives that CI publishes (it requires zip).
Shell completion
The CLI completes commands, flags and — through a quick, time-limited API call — remote paths.
# current session
source <(vela completion bash)
# permanently (Linux)
vela completion bash | sudo tee /etc/bash_completion.d/vela > /dev/null
echo "autoload -U compinit; compinit" >> ~/.zshrc # if not enabled yet
vela completion zsh > "${fpath[1]}/_vela"
vela completion fish > ~/.config/fish/completions/vela.fish
vela completion powershell | Out-String | Invoke-Expression
See shell completion for how remote completion behaves on slow networks.
Installing the server
Docker image
The official image is xchunk/vela. It is built for linux/amd64 and linux/arm64 on a distroless base and runs as the nonroot user UID/GID 65532.
docker pull xchunk/vela:0.9.0
| Image property | Value |
|---|---|
| Base | gcr.io/distroless/static-debian13:nonroot — no shell, no package manager |
| Binary | /usr/local/bin/velad (on PATH, so docker exec vela velad … works) |
| User | 65532:65532 |
| Volume | /data (VELA_DATA_DIR) |
| Port | 8080 (VELA_LISTEN=:8080) |
| Health check | velad healthcheck every 30 s |
| Default command | velad serve |
Tags follow the release: 0.9.0, 0.9 and latest (stable releases only). Pin an exact version in production. Continue with Deploying Vela.
Building the image yourself
make docker # tags xchunk/vela:<git describe> and xchunk/vela:dev
Static binary without Docker
velad is a single static binary, so you can also run it under systemd. Build it with make build-server, create a dedicated user and a data directory it owns, and pass configuration through the environment:
[Unit]
Description=Vela file store
After=network-online.target
Wants=network-online.target
[Service]
User=vela
Group=vela
EnvironmentFile=/etc/vela/vela.env
Environment=VELA_DATA_DIR=/var/lib/vela
Environment=VELA_LISTEN=127.0.0.1:8080
ExecStart=/usr/local/bin/velad serve
Restart=on-failure
NoNewPrivileges=true
ProtectSystem=strict
ReadWritePaths=/var/lib/vela
[Install]
WantedBy=multi-user.target
The Docker image is the reference deployment and the one the examples are written for. With a bare binary, the administrative commands become sudo -u vela VELA_DATA_DIR=/var/lib/vela velad key create … instead of docker exec vela velad key create ….
Verifying the installation
$ vela version
vela v0.9.0 (commit 81a2424f3d3b, built 2026-10-31T04:13:51Z, go1.27.2, linux/amd64) (API v1)
$ docker run --rm xchunk/vela:0.9.0 version
Once you are logged in, vela version also prints the server version and warns if the API major versions differ.