From 165e363084edfad0a7dab8f2f647853e108efecc Mon Sep 17 00:00:00 2001 From: Daniel Samson <12231216+daniel-samson@users.noreply.github.com> Date: Wed, 21 Jan 2026 23:22:32 +0000 Subject: [PATCH] docs: add installation instructions to README Added installation instructions for: - macOS (Homebrew and manual download) - Linux (x64 and ARM64) - Windows (PowerShell download) Co-Authored-By: Claude Opus 4.5 --- README.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/README.md b/README.md index f1a56fa..62f9a43 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,57 @@ This project treats FFmpeg jobs as **first-class managed units of work**, not sh --- +## Installation + +### macOS + +**Homebrew (recommended):** +```bash +brew install samson-media/tap/barn +``` + +**Manual download:** +```bash +curl -L -o barn https://github.com/samson-media/barn/releases/latest/download/barn-macos-arm64 +chmod +x barn +sudo mv barn /usr/local/bin/ +``` + +### Linux + +**Download the binary:** +```bash +# For x64 +curl -L -o barn https://github.com/samson-media/barn/releases/latest/download/barn-linux-x64 + +# For ARM64 +curl -L -o barn https://github.com/samson-media/barn/releases/latest/download/barn-linux-arm64 + +chmod +x barn +sudo mv barn /usr/local/bin/ +``` + +### Windows + +**Download the binary:** + +1. Download `barn-windows-x64.exe` from the [latest release](https://github.com/samson-media/barn/releases/latest) +2. Rename to `barn.exe` and move to a directory in your PATH + +**PowerShell:** +```powershell +Invoke-WebRequest -Uri "https://github.com/samson-media/barn/releases/latest/download/barn-windows-x64.exe" -OutFile "barn.exe" +Move-Item barn.exe C:\Windows\System32\ +``` + +### Verify Installation + +```bash +barn --version +``` + +--- + ## Barn command This project creates a simple CLI commandlet with sub-comands.