Bun v1.3.1
To install Bun v1.3.1
curl -fsSL https://bun.sh/install | bash
# or you can use npm
# npm install -g bun
Windows:
powershell -c "irm bun.sh/install.ps1|iex"
To upgrade to Bun v1.3.1:
bun upgrade
Special thanks to Martin Schwarzl of Cloudflare for fuzzing & reporting several bugs!!
Fetched April 21, 2026