Skip to content

Bun

Install

sh
curl -fsSL https://bun.sh/install | bash
ps1
powershell -c "irm bun.sh/install.ps1 | iex"
bash
[ -s "/Users/ewilan/.bun/_bun" ] && source "/Users/ewilan/.bun/_bun"
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
~/.zshrc

Reload shell

sh
source ~/.zshrc

Usage

To use Bun, run the following command:

sh
bun

To get version information:

sh
bun --version

MIT License