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 <noreply@anthropic.com>
This commit is contained in:
Daniel SamsonandClaude Opus 4.5 committed 2026-01-21 23:22:32 +00:00
1 parent 167292165a
commit 165e363084
1 file changed
+51
+51
View File
@@ -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.