To install Bun v1.4.5

curl -fsSL https://bun.com/install | bash
# or you can use npm
# npm install -g bun

Windows:

powershell -c "irm bun.com/install.ps1|iex"

To upgrade to Bun v1.4.5:

bun upgrade

Read Bun v1.4.5's release notes on Bun's blog

Thanks to 3 contributors!