To install Bun v1.2.19
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.2.19:
bun upgrade
Read Bun v1.2.19's release notes on Bun's blog
Thanks to 18 contributors!
Fetched April 21, 2026
