2025-11-04 11:46:49 +00:00
|
|
|
# Installation
|
|
|
|
|
|
|
|
|
|
This project builds a single binary named `borg`.
|
|
|
|
|
|
|
|
|
|
Options to install:
|
|
|
|
|
|
|
|
|
|
- From source (requires Go 1.25 or newer):
|
|
|
|
|
- Clone the repository and build:
|
2025-11-24 23:58:50 +00:00
|
|
|
- `go build -o borg ./`
|
2025-11-04 11:46:49 +00:00
|
|
|
- Or use the Taskfile:
|
2025-11-24 23:58:50 +00:00
|
|
|
- `task build`
|
2025-11-04 11:46:49 +00:00
|
|
|
|
|
|
|
|
- From releases (recommended):
|
|
|
|
|
- Download an archive for your OS/ARCH from GitHub Releases once you publish with GoReleaser.
|
|
|
|
|
- Unpack and place `borg` on your PATH.
|
|
|
|
|
|
|
|
|
|
- Homebrew (if you publish to a tap):
|
2025-11-24 23:58:50 +00:00
|
|
|
- `brew tap Snider/homebrew-tap`
|
|
|
|
|
- `brew install borg`
|
2025-11-04 11:46:49 +00:00
|
|
|
|
|
|
|
|
Requirements:
|
|
|
|
|
- Go 1.25+ to build from source.
|
|
|
|
|
- macOS, Linux, Windows, or FreeBSD on amd64/arm64; Linux ARM v6/v7 supported.
|