Vole docs Source

Install#

Install Vole with your package manager where possible, or download a standalone binary. After installing, vole version confirms that the command is ready.

Your platform or goal Start with Other options
Debian, Ubuntu, Fedora, RHEL, Rocky, AlmaLinux, or Arch Linux Install script Package repository, package file, or binary
Another Linux distribution Standalone binary Build from source
macOS Homebrew for a service, or the install script for your account Build from source
Windows PowerShell installer Download the MSI directly
Develop Vole Build from source —

Releases provide Linux and macOS binaries for amd64 and arm64. Windows releases are amd64 only. The same vole command provides the CLI and forge server; the Windows package does not include the CI runner.

Install on Linux#

Install with the script#

On Debian, Ubuntu, Fedora, RHEL, Rocky, AlmaLinux, and Arch Linux, run:

curl -fsSL https://rodent.software/vole/channels/stable/install.sh | sudo sh

The script detects your distribution and architecture, installs the release key and package repository, and installs Vole with apt, dnf, or pacman. Your package manager verifies the signed repository and packages and handles later upgrades. The script also checks the release key's pinned SHA-256 and fingerprint before changing the system.

Confirm the installation:

vole version

For the current stable release, the output is:

0.2.0

The Linux package installs Git, the vole command, systemd units, and /etc/vole/vole.toml. It does not create an instance administrator or enable the forge service. Continue with the Quickstart for a local instance, or Deploy on Linux to configure the service.

To inspect the script and preview its changes before installing:

curl -fsSLO https://rodent.software/vole/channels/stable/install.sh
less install.sh
sh install.sh --dry-run
sudo sh install.sh

Run sh install.sh --help for channel, version-pinning, repository-only, and image-build options.

Install on macOS#

Use Homebrew when you want Homebrew to manage Vole and its LaunchAgent. Use the install script when you want only the command in your account. Both methods support Apple Silicon and Intel Macs running macOS 13 or later.

Install with Homebrew#

The tap is hosted on the Rodent Software forge, so give Homebrew its clone URL:

brew tap rodent-software/homebrew-tap https://rodent.software/homebrew-tap.git
brew install vole
vole version

The formula can manage Vole as a LaunchAgent with brew services start vole. Deploy on macOS explains the service, its data directories, and machine-wide deployment.

Use the install script#

curl -fsSL https://rodent.software/vole/channels/stable/install.sh | sh
vole version

The script selects the right binary, checks it against the release's SHA256SUMS, and installs it as ~/.local/bin/vole. Make sure ~/.local/bin is on your PATH. Run the script with sudo sh instead to install /usr/local/bin/vole for the machine. If Homebrew already manages Vole, the script leaves that installation alone and tells you to use brew upgrade vole.

Vole needs Git at run time. If git --version opens a dialog offering to install the command line tools, run xcode-select --install and finish that installation first.

Continue with the Quickstart for a local instance, or Deploy on macOS to run the forge as a service.

Install on Windows#

You need Windows Server 2019 or later, or Windows 10/11 on amd64; Git for Windows on the machine PATH; and an elevated PowerShell. Download and run the installer:

Invoke-WebRequest https://rodent.software/vole/channels/stable/install.ps1 -OutFile install.ps1
.\install.ps1

The script downloads the MSI, checks it against the release's SHA256SUMS, and installs it. The installer registers and starts the Vole service and writes a default configuration to %ProgramData%\Vole\vole.toml. It does not create an instance administrator.

Confirm the installation with the installed executable:

& "C:\Program Files\Vole\vole.exe" version

Windows reports an unknown publisher

The MSI is not Authenticode-signed. The installer checks its checksum; for independent signature verification, follow Verify a direct download before running the MSI.

Use .\install.ps1 -DryRun to preview the installation. To select a release, see Pin a release. To install without the script, download vole-windows-amd64.msi from the stable channel and run it with msiexec /i.

Continue with Deploy on Windows to configure HTTPS, create the first administrator, and open the firewall. Run CI runners on Linux; the Windows package provides the forge server and CLI client only.

Build from source#

Use this path when you want to change Vole. You need Git and Go with toolchain management. go.mod selects Go 1.27.4 and downloads that toolchain when needed. SQLite uses a pure-Go driver, so you do not need a C compiler.

git clone https://rodent.software/vole.git
cd vole
go install ./cmd/vole
vole version

go install writes the command to $(go env GOPATH)/bin; add that directory to your PATH if necessary. A source build reports its revision and adds .dirty when the checkout has uncommitted changes. See DEVELOPMENT.md in the checkout for tests and a throwaway development instance.

Other Linux installation methods#

Install a release binary#

Use the standalone binary when your distribution does not use one of the supported package managers. Install Git first. These commands install the current stable amd64 binary for your account:

curl -fLO https://rodent.software/vole/channels/stable/vole-linux-amd64
install -D -m 0755 vole-linux-amd64 ~/.local/bin/vole
vole version

On ARM, replace vole-linux-amd64 with vole-linux-arm64. Make sure ~/.local/bin is on your PATH. The binary is static and includes SQLite, so it has no runtime library dependencies. To authenticate the download before installing it, follow Verify a direct download.

Install a package file#

Download the .deb, .rpm, or .pkg.tar.zst for your architecture from the stable channel. Follow Verify a direct download before installing it, then use the command for your distribution.

Debian or Ubuntu:

sudo apt install ./vole_*.deb
vole version

Fedora, RHEL, Rocky, or AlmaLinux:

sudo dnf install ./vole-*.rpm
vole version

Arch Linux:

sudo pacman -U ./vole-*.pkg.tar.zst
vole version

Add the repository by hand#

Use these commands to inspect and apply each package-manager change yourself. They configure the same signed repository as the install script.

Debian or Ubuntu#

sudo install -d -m 0755 /etc/apt/keyrings
sudo curl -fsSL https://rodent.software/vole/channels/stable/vole-release-key.asc \
  -o /etc/apt/keyrings/vole.asc
echo 'deb [signed-by=/etc/apt/keyrings/vole.asc] https://rodent.software/vole/channels/stable/apt ./' \
  | sudo tee /etc/apt/sources.list.d/vole.list
sudo apt update && sudo apt install vole
vole version

Fedora, RHEL, or Rocky#

Use this repository on AlmaLinux as well:

sudo curl -fsSL https://rodent.software/vole/channels/stable/vole-release-key.asc \
  -o /etc/pki/rpm-gpg/RPM-GPG-KEY-vole
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-vole
sudo tee /etc/yum.repos.d/vole.repo >/dev/null <<'EOF'
[vole]
name=Vole
baseurl=https://rodent.software/vole/channels/stable/yum/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-vole
EOF
sudo dnf install vole
vole version

Arch Linux#

If this machine has never initialized its pacman keyring, run sudo pacman-key --init first. Then add Vole's key and repository:

curl -fsSLO https://rodent.software/vole/channels/stable/vole-release-key.asc
sudo pacman-key --add vole-release-key.asc
sudo pacman-key --lsign-key 01A6F610DBD731DD3C2321C52D74BC712CE88523
sudo tee -a /etc/pacman.conf >/dev/null <<'EOF'
[vole]
Server = https://rodent.software/vole/channels/stable/pacman/$arch
SigLevel = Required DatabaseRequired
EOF
sudo pacman -Syu vole
vole version

Pacman expands $arch to x86_64 or aarch64. Apt and dnf select the architecture automatically.

Pin a release#

The install scripts follow the stable channel by default. To install one release instead, download the script for your platform and pass the tag.

On Linux, or on macOS for a system-wide installation:

sudo sh install.sh --version v0.2.0

Omit sudo for a user-local macOS installation. On Windows:

.\install.ps1 -Version v0.2.0

For a manually configured package repository, replace /channels/stable in its base URL with /releases/v0.2.0/artifacts. For example, a pinned apt source ends in /releases/v0.2.0/artifacts/apt. Change that URL when you are ready to upgrade.

Verify a direct download#

Repository installations already verify Vole's signed packages and repository metadata. Use this procedure for a binary, package file, or MSI that you download directly.

Every release publishes SHA256SUMS, the detached signature SHA256SUMS.asc, and vole-release-key.asc. On Linux or macOS, download those files into the directory containing the release artifact you want to check:

tag=v0.2.0
base=https://rodent.software/vole/releases/$tag/artifacts
curl -fLO "$base/vole-release-key.asc"
curl -fLO "$base/SHA256SUMS"
curl -fLO "$base/SHA256SUMS.asc"
gpg --import vole-release-key.asc
gpg --fingerprint 'Vole Release'
gpg --verify SHA256SUMS.asc SHA256SUMS
sha256sum -c --ignore-missing SHA256SUMS

gpg --verify must report Good signature. The checksum command checks every downloaded file named in SHA256SUMS and skips files you did not download.

On macOS, install GnuPG with brew install gnupg and replace the last command with:

shasum -a 256 -c --ignore-missing SHA256SUMS

On Windows, install.ps1 performs the checksum comparison automatically. To check the MSI yourself, verify SHA256SUMS.asc with GnuPG, find the vole-windows-amd64.msi entry in SHA256SUMS, and compare it with:

(Get-FileHash .\vole-windows-amd64.msi -Algorithm SHA256).Hash

For an independent key check, compare the imported key's fingerprint with the public key committed at packaging/keys/vole-release.asc in Vole's source repository. The release also publishes vole-release-key.fingerprint. HTTPS authenticates the release host; comparing with the source checkout gives you a second path for authenticating the key.

Upgrade an installed server#

Back up before upgrading

Database migrations run in place and cannot be reversed by installing an older binary. Follow Back up an instance and test the backup before upgrading.

Upgrade a Linux package#

Use the package manager connected to Vole's repository.

Debian or Ubuntu:

sudo apt update && sudo apt upgrade vole

Fedora, RHEL, Rocky, or AlmaLinux:

sudo dnf upgrade vole

Arch Linux:

sudo pacman -Syu vole

Restart the service if the package manager did not:

sudo systemctl restart vole

Check the installed version and service state:

vole version
sudo systemctl status vole --no-pager

Also check account sign-in, an SSH clone, and runner connectivity. Upgrade the instance before its runners; see Upgrade a runner.

Upgrade macOS or Windows#

On macOS, use brew upgrade vole for a Homebrew installation or run the install script again for a standalone binary. Restart a running service after upgrading. On Windows, run install.ps1 again or install the newer MSI; see Deploy on Windows § Upgrading.

Next#

↑↓ to move Enter to open Esc to close