Install Bun
Bun is a single executable. Use the official script:
macOS/Linux:
curl -fsSL https://bun.sh/install | bash
Windows:
powershell -c "irm bun.sh/install.ps1|iex"
Add to PATH if needed (Windows). Verify:
bun --version
bun --revision
Prerequisites: macOS 13+, Linux kernel 5.1+ (unzip required), Windows 10 1809+.