vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
| 1 | # Install |
| 2 | |
| 3 | Install Vole with your package manager where possible, or download a standalone |
| 4 | binary. After installing, `vole version` confirms that the command is ready. |
| 5 | |
| 6 | | Your platform or goal | Start with | Other options | |
| 7 | |---|---|---| |
| 8 | | Debian, Ubuntu, Fedora, RHEL, Rocky, AlmaLinux, or Arch Linux | [Install script](#install-with-the-script) | [Package repository](#add-the-repository-by-hand), [package file](#install-a-package-file), or [binary](#install-a-release-binary) | |
| 9 | | Another Linux distribution | [Standalone binary](#install-a-release-binary) | [Build from source](#build-from-source) | |
| 10 | | macOS | [Homebrew](#install-with-homebrew) for a service, or the [install script](#use-the-install-script) for your account | Build from source | |
| 11 | | Windows | [PowerShell installer](#install-on-windows) | Download the MSI directly | |
| 12 | | Develop Vole | [Build from source](#build-from-source) | — | |
| 13 | |
| 14 | Releases provide Linux and macOS binaries for `amd64` and `arm64`. Windows |
| 15 | releases are `amd64` only. The same `vole` command provides the CLI and forge |
| 16 | server; the Windows package does not include the CI runner. |
| 17 | |
| 18 | ## Install on Linux |
| 19 | |
| 20 | ### Install with the script |
| 21 | |
| 22 | On Debian, Ubuntu, Fedora, RHEL, Rocky, AlmaLinux, and Arch Linux, run: |
| 23 | |
| 24 | ```sh |
| 25 | curl -fsSL https://rodent.software/vole/channels/stable/install.sh | sudo sh |
| 26 | ``` |
| 27 | |
| 28 | The script detects your distribution and architecture, installs the release key |
| 29 | and package repository, and installs Vole with `apt`, `dnf`, or `pacman`. Your |
| 30 | package manager verifies the signed repository and packages and handles later |
| 31 | upgrades. The script also checks the release key's pinned SHA-256 and fingerprint |
| 32 | before changing the system. |
| 33 | |
| 34 | Confirm the installation: |
| 35 | |
| 36 | ```sh |
| 37 | vole version |
| 38 | ``` |
| 39 | |
| 40 | For the current stable release, the output is: |
| 41 | |
| 42 | ```text |
| 43 | 0.2.0 |
| 44 | ``` |
| 45 | |
| 46 | The Linux package installs Git, the `vole` command, systemd units, and |
| 47 | `/etc/vole/vole.toml`. It does not create an instance administrator or enable |
| 48 | the forge service. Continue with the [Quickstart](quickstart.md) for a local |
| 49 | instance, or [Deploy on Linux](deploy/linux.md) to configure the service. |
| 50 | |
| 51 | To inspect the script and preview its changes before installing: |
| 52 | |
| 53 | ```sh |
| 54 | curl -fsSLO https://rodent.software/vole/channels/stable/install.sh |
| 55 | less install.sh |
| 56 | sh install.sh --dry-run |
| 57 | sudo sh install.sh |
| 58 | ``` |
| 59 | |
| 60 | Run `sh install.sh --help` for channel, version-pinning, repository-only, and |
| 61 | image-build options. |
| 62 | |
| 63 | ## Install on macOS |
| 64 | |
| 65 | Use Homebrew when you want Homebrew to manage Vole and its LaunchAgent. Use the |
| 66 | install script when you want only the command in your account. Both methods |
| 67 | support Apple Silicon and Intel Macs running macOS 13 or later. |
| 68 | |
| 69 | ### Install with Homebrew |
| 70 | |
| 71 | The tap is hosted on the Rodent Software forge, so give Homebrew its clone URL: |
| 72 | |
| 73 | ```sh |
| 74 | brew tap rodent-software/homebrew-tap https://rodent.software/homebrew-tap.git |
| 75 | brew install vole |
| 76 | vole version |
| 77 | ``` |
| 78 | |
| 79 | The formula can manage Vole as a LaunchAgent with `brew services start vole`. |
| 80 | [Deploy on macOS](deploy/macos.md) explains the service, its data directories, |
| 81 | and machine-wide deployment. |
| 82 | |
| 83 | ### Use the install script |
| 84 | |
| 85 | ```sh |
| 86 | curl -fsSL https://rodent.software/vole/channels/stable/install.sh | sh |
| 87 | vole version |
| 88 | ``` |
| 89 | |
| 90 | The script selects the right binary, checks it against the release's |
| 91 | `SHA256SUMS`, and installs it as `~/.local/bin/vole`. Make sure `~/.local/bin` is |
| 92 | on your `PATH`. Run the script with `sudo sh` instead to install |
| 93 | `/usr/local/bin/vole` for the machine. If Homebrew already manages Vole, the |
| 94 | script leaves that installation alone and tells you to use `brew upgrade vole`. |
| 95 | |
| 96 | Vole needs Git at run time. If `git --version` opens a dialog offering to install |
| 97 | the command line tools, run `xcode-select --install` and finish that installation |
| 98 | first. |
| 99 | |
| 100 | Continue with the [Quickstart](quickstart.md) for a local instance, or |
| 101 | [Deploy on macOS](deploy/macos.md) to run the forge as a service. |
| 102 | |
| 103 | ## Install on Windows |
| 104 | |
| 105 | You need Windows Server 2019 or later, or Windows 10/11 on `amd64`; Git for |
| 106 | Windows on the machine `PATH`; and an elevated PowerShell. Download and run the |
| 107 | installer: |
| 108 | |
| 109 | ```powershell |
| 110 | Invoke-WebRequest https://rodent.software/vole/channels/stable/install.ps1 -OutFile install.ps1 |
| 111 | .\install.ps1 |
| 112 | ``` |
| 113 | |
| 114 | The script downloads the MSI, checks it against the release's `SHA256SUMS`, and |
| 115 | installs it. The installer registers and starts the `Vole` service and writes a |
| 116 | default configuration to `%ProgramData%\Vole\vole.toml`. It does not create an |
| 117 | instance administrator. |
| 118 | |
| 119 | Confirm the installation with the installed executable: |
| 120 | |
| 121 | ```powershell |
| 122 | & "C:\Program Files\Vole\vole.exe" version |
| 123 | ``` |
| 124 | |
| 125 | !!! warning "Windows reports an unknown publisher" |
| 126 | The MSI is not Authenticode-signed. The installer checks its checksum; for |
| 127 | independent signature verification, follow |
| 128 | [Verify a direct download](#verify-a-direct-download) before running the MSI. |
| 129 | |
| 130 | Use `.\install.ps1 -DryRun` to preview the installation. To select a release, |
| 131 | see [Pin a release](#pin-a-release). To install without the script, download |
| 132 | `vole-windows-amd64.msi` from the |
| 133 | [stable channel](https://rodent.software/vole/channels/stable) and run it with |
| 134 | `msiexec /i`. |
| 135 | |
| 136 | Continue with [Deploy on Windows](deploy/windows.md) to configure HTTPS, create |
| 137 | the first administrator, and open the firewall. Run CI runners on Linux; the |
| 138 | Windows package provides the forge server and CLI client only. |
| 139 | |
| 140 | ## Build from source |
| 141 | |
| 142 | Use this path when you want to change Vole. You need Git and Go with toolchain |
| 143 | management. `go.mod` selects Go 1.27.4 and downloads that toolchain when needed. |
| 144 | SQLite uses a pure-Go driver, so you do not need a C compiler. |
| 145 | |
| 146 | ```sh |
| 147 | git clone https://rodent.software/vole.git |
| 148 | cd vole |
| 149 | go install ./cmd/vole |
| 150 | vole version |
| 151 | ``` |
| 152 | |
| 153 | `go install` writes the command to `$(go env GOPATH)/bin`; add that directory to |
| 154 | your `PATH` if necessary. A source build reports its revision and adds `.dirty` |
| 155 | when the checkout has uncommitted changes. See `DEVELOPMENT.md` in the checkout |
| 156 | for tests and a throwaway development instance. |
| 157 | |
| 158 | ## Other Linux installation methods |
| 159 | |
| 160 | ### Install a release binary |
| 161 | |
| 162 | Use the standalone binary when your distribution does not use one of the |
| 163 | supported package managers. Install Git first. These commands install the |
| 164 | current stable `amd64` binary for your account: |
| 165 | |
| 166 | ```sh |
| 167 | curl -fLO https://rodent.software/vole/channels/stable/vole-linux-amd64 |
| 168 | install -D -m 0755 vole-linux-amd64 ~/.local/bin/vole |
| 169 | vole version |
| 170 | ``` |
| 171 | |
| 172 | On ARM, replace `vole-linux-amd64` with `vole-linux-arm64`. Make sure |
| 173 | `~/.local/bin` is on your `PATH`. The binary is static and includes SQLite, so it |
| 174 | has no runtime library dependencies. To authenticate the download before |
| 175 | installing it, follow [Verify a direct download](#verify-a-direct-download). |
| 176 | |
| 177 | ### Install a package file |
| 178 | |
| 179 | Download the `.deb`, `.rpm`, or `.pkg.tar.zst` for your architecture from the |
| 180 | [stable channel](https://rodent.software/vole/channels/stable). Follow |
| 181 | [Verify a direct download](#verify-a-direct-download) before installing it, then |
| 182 | use the command for your distribution. |
| 183 | |
| 184 | Debian or Ubuntu: |
| 185 | |
| 186 | ```sh |
| 187 | sudo apt install ./vole_*.deb |
| 188 | vole version |
| 189 | ``` |
| 190 | |
| 191 | Fedora, RHEL, Rocky, or AlmaLinux: |
| 192 | |
| 193 | ```sh |
| 194 | sudo dnf install ./vole-*.rpm |
| 195 | vole version |
| 196 | ``` |
| 197 | |
| 198 | Arch Linux: |
| 199 | |
| 200 | ```sh |
| 201 | sudo pacman -U ./vole-*.pkg.tar.zst |
| 202 | vole version |
| 203 | ``` |
| 204 | |
| 205 | ### Add the repository by hand |
| 206 | |
| 207 | Use these commands to inspect and apply each package-manager change yourself. |
| 208 | They configure the same signed repository as the install script. |
| 209 | |
| 210 | #### Debian or Ubuntu |
| 211 | |
| 212 | ```sh |
| 213 | sudo install -d -m 0755 /etc/apt/keyrings |
| 214 | sudo curl -fsSL https://rodent.software/vole/channels/stable/vole-release-key.asc \ |
| 215 | -o /etc/apt/keyrings/vole.asc |
| 216 | echo 'deb [signed-by=/etc/apt/keyrings/vole.asc] https://rodent.software/vole/channels/stable/apt ./' \ |
| 217 | | sudo tee /etc/apt/sources.list.d/vole.list |
| 218 | sudo apt update && sudo apt install vole |
| 219 | vole version |
| 220 | ``` |
| 221 | |
| 222 | #### Fedora, RHEL, or Rocky |
| 223 | |
| 224 | Use this repository on AlmaLinux as well: |
| 225 | |
| 226 | ```sh |
| 227 | sudo curl -fsSL https://rodent.software/vole/channels/stable/vole-release-key.asc \ |
| 228 | -o /etc/pki/rpm-gpg/RPM-GPG-KEY-vole |
| 229 | sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-vole |
| 230 | sudo tee /etc/yum.repos.d/vole.repo >/dev/null <<'EOF' |
| 231 | [vole] |
| 232 | name=Vole |
| 233 | baseurl=https://rodent.software/vole/channels/stable/yum/ |
| 234 | enabled=1 |
| 235 | gpgcheck=1 |
| 236 | repo_gpgcheck=1 |
| 237 | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-vole |
| 238 | EOF |
| 239 | sudo dnf install vole |
| 240 | vole version |
| 241 | ``` |
| 242 | |
| 243 | #### Arch Linux |
| 244 | |
| 245 | If this machine has never initialized its pacman keyring, run |
| 246 | `sudo pacman-key --init` first. Then add Vole's key and repository: |
| 247 | |
| 248 | ```sh |
| 249 | curl -fsSLO https://rodent.software/vole/channels/stable/vole-release-key.asc |
| 250 | sudo pacman-key --add vole-release-key.asc |
| 251 | sudo pacman-key --lsign-key 01A6F610DBD731DD3C2321C52D74BC712CE88523 |
| 252 | sudo tee -a /etc/pacman.conf >/dev/null <<'EOF' |
| 253 | [vole] |
| 254 | Server = https://rodent.software/vole/channels/stable/pacman/$arch |
| 255 | SigLevel = Required DatabaseRequired |
| 256 | EOF |
| 257 | sudo pacman -Syu vole |
| 258 | vole version |
| 259 | ``` |
| 260 | |
| 261 | Pacman expands `$arch` to `x86_64` or `aarch64`. Apt and dnf select the |
| 262 | architecture automatically. |
| 263 | |
| 264 | ## Pin a release |
| 265 | |
| 266 | The install scripts follow the `stable` channel by default. To install one |
| 267 | release instead, download the script for your platform and pass the tag. |
| 268 | |
| 269 | On Linux, or on macOS for a system-wide installation: |
| 270 | |
| 271 | ```sh |
| 272 | sudo sh install.sh --version v0.2.0 |
| 273 | ``` |
| 274 | |
| 275 | Omit `sudo` for a user-local macOS installation. On Windows: |
| 276 | |
| 277 | ```powershell |
| 278 | .\install.ps1 -Version v0.2.0 |
| 279 | ``` |
| 280 | |
| 281 | For a manually configured package repository, replace `/channels/stable` in its |
| 282 | base URL with `/releases/v0.2.0/artifacts`. For example, a pinned apt source |
| 283 | ends in `/releases/v0.2.0/artifacts/apt`. Change that URL when you are ready to |
| 284 | upgrade. |
| 285 | |
| 286 | ## Verify a direct download |
| 287 | |
| 288 | Repository installations already verify Vole's signed packages and repository |
| 289 | metadata. Use this procedure for a binary, package file, or MSI that you download |
| 290 | directly. |
| 291 | |
| 292 | Every release publishes `SHA256SUMS`, the detached signature `SHA256SUMS.asc`, |
| 293 | and `vole-release-key.asc`. On Linux or macOS, download those files into the |
| 294 | directory containing the release artifact you want to check: |
| 295 | |
| 296 | ```sh |
| 297 | tag=v0.2.0 |
| 298 | base=https://rodent.software/vole/releases/$tag/artifacts |
| 299 | curl -fLO "$base/vole-release-key.asc" |
| 300 | curl -fLO "$base/SHA256SUMS" |
| 301 | curl -fLO "$base/SHA256SUMS.asc" |
| 302 | gpg --import vole-release-key.asc |
| 303 | gpg --fingerprint 'Vole Release' |
| 304 | gpg --verify SHA256SUMS.asc SHA256SUMS |
| 305 | sha256sum -c --ignore-missing SHA256SUMS |
| 306 | ``` |
| 307 | |
| 308 | `gpg --verify` must report `Good signature`. The checksum command checks every |
| 309 | downloaded file named in `SHA256SUMS` and skips files you did not download. |
| 310 | |
| 311 | On macOS, install GnuPG with `brew install gnupg` and replace the last command |
| 312 | with: |
| 313 | |
| 314 | ```sh |
| 315 | shasum -a 256 -c --ignore-missing SHA256SUMS |
| 316 | ``` |
| 317 | |
| 318 | On Windows, `install.ps1` performs the checksum comparison automatically. To |
| 319 | check the MSI yourself, verify `SHA256SUMS.asc` with GnuPG, find the |
| 320 | `vole-windows-amd64.msi` entry in `SHA256SUMS`, and compare it with: |
| 321 | |
| 322 | ```powershell |
| 323 | (Get-FileHash .\vole-windows-amd64.msi -Algorithm SHA256).Hash |
| 324 | ``` |
| 325 | |
| 326 | For an independent key check, compare the imported key's fingerprint with the |
| 327 | public key committed at `packaging/keys/vole-release.asc` in Vole's source |
| 328 | repository. The release also publishes `vole-release-key.fingerprint`. HTTPS |
| 329 | authenticates the release host; comparing with the source checkout gives you a |
| 330 | second path for authenticating the key. |
| 331 | |
| 332 | ## Upgrade an installed server |
| 333 | |
| 334 | !!! danger "Back up before upgrading" |
| 335 | Database migrations run in place and cannot be reversed by installing an |
| 336 | older binary. Follow [Back up an instance](backup-and-restore.md#back-up-an-instance) |
| 337 | and test the backup before upgrading. |
| 338 | |
| 339 | ### Upgrade a Linux package |
| 340 | |
| 341 | Use the package manager connected to Vole's repository. |
| 342 | |
| 343 | Debian or Ubuntu: |
| 344 | |
| 345 | ```sh |
| 346 | sudo apt update && sudo apt upgrade vole |
| 347 | ``` |
| 348 | |
| 349 | Fedora, RHEL, Rocky, or AlmaLinux: |
| 350 | |
| 351 | ```sh |
| 352 | sudo dnf upgrade vole |
| 353 | ``` |
| 354 | |
| 355 | Arch Linux: |
| 356 | |
| 357 | ```sh |
| 358 | sudo pacman -Syu vole |
| 359 | ``` |
| 360 | |
| 361 | Restart the service if the package manager did not: |
| 362 | |
| 363 | ```sh |
| 364 | sudo systemctl restart vole |
| 365 | ``` |
| 366 | |
| 367 | Check the installed version and service state: |
| 368 | |
| 369 | ```sh |
| 370 | vole version |
| 371 | sudo systemctl status vole --no-pager |
| 372 | ``` |
| 373 | |
| 374 | Also check account sign-in, an SSH clone, and runner connectivity. Upgrade the |
| 375 | instance before its runners; see [Upgrade a runner](runner.md#upgrade-a-runner). |
| 376 | |
| 377 | ### Upgrade macOS or Windows |
| 378 | |
| 379 | On macOS, use `brew upgrade vole` for a Homebrew installation or run the install |
| 380 | script again for a standalone binary. Restart a running service after upgrading. |
| 381 | On Windows, run `install.ps1` again or install the newer MSI; see |
| 382 | [Deploy on Windows § Upgrading](deploy/windows.md#upgrading). |
| 383 | |
| 384 | ## Next |
| 385 | |
| 386 | - [Quickstart](quickstart.md) — create a local repository, push a commit, and |
| 387 | open an issue. |
| 388 | - [Deploy on Linux](deploy/linux.md) — configure a public forge and its first |
| 389 | administrator. |
| 390 | - [Backup and restore](backup-and-restore.md) — protect an instance before an |
| 391 | upgrade. |
| 392 |