NetBird v0.72.2 (Optimized Small Build)
NetBird v0.72.2 - Optimized Small Builds
This release contains highly optimized NetBird client binaries built with size reduction techniques:
Size Optimization Features
- Stripped binaries: Built with
-s -wflags (removes debug symbols and symbol table) - Disabled inlining:
-gcflags="all=-l"for better compression - UPX compression: Maximum compression with
--lzma --best(Linux only) - Static compilation:
CGO_ENABLED=0for portability
Available Platforms
- Linux: amd64, arm64, armv7, 386, mips, mipsle, mips64, mips64le
- Windows: amd64, arm64
- macOS: amd64, arm64
Binary Variants
Each Linux platform has two versions:
- Standard: Optimized with
-s -wflags - UPX: Further compressed with UPX (smaller but slower startup)
Note: UPX compression is not applied to:
- Windows binaries (compatibility)
- macOS binaries (UPX issues)
- mips64/mips64le (UPX limitations)
Expected Size Reduction
Based on testing:
- Standard build: ~26MB → ~15MB (42% reduction)
- UPX compressed: ~26MB → ~5MB (81% reduction)
Installation
# Download for your platform, e.g., Linux amd64:
wget https://github.com/Ovler-Young/smaller-netbird/releases/download/v0.72.2/netbird-small-linux-amd64-v0.72.2
# Or use UPX version for maximum size savings:
wget https://github.com/Ovler-Young/smaller-netbird/releases/download/v0.72.2/netbird-small-upx-linux-amd64-v0.72.2
chmod +x netbird-small-*
sudo mv netbird-small-* /usr/local/bin/netbirdAutomatic Updates
This repository automatically checks for new NetBird releases daily and builds optimized versions when available.
Original NetBird repository: https://github.com/netbirdio/netbird
Built from tag: v0.72.2