Windows build instructions (tested) (#10)

Add Windows build instructions with tested PowerShell commands and mingw64 requirements. Closes #5.
This commit is contained in:
matt wilkie
2025-10-14 02:12:48 -07:00
committed by GitHub
parent 5c2cff4837
commit 287c3144c4

View File

@@ -71,6 +71,25 @@ go build -o bd ./cmd/bd
sudo mv bd /usr/local/bin/ # or anywhere in your PATH
```
#### Windows 11
For Windows you must build from source.
Assumes git, go-lang and mingw-64 installed and in path.
```pwsh
git clone https://github.com/steveyegge/beads
cd beads
$env:CGO_ENABLED=1
go build -o bd.exe ./cmd/bd
mv bd.exe $env:USERPROFILE/.local/bin/ # or anywhere in your PATH
```
Tested with mingw64 from https://github.com/niXman/mingw-builds-binaries
- version: `1.5.20`
- architecture: `64 bit`
- thread model: `posix`
- C runtime: `ucrt`
## Quick Start
### For Humans