Read Bun 1.2's release notes on Bun's blog
Watch the video:
To install Bun:
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.0:
bun upgrade