This is the official Homebrew tap for Bun. You can use it to install Bun on MacOS and Linux using Homebrew.
To install Bun with Homebrew, aka. brew
, run the following commands:
brew tap oven-sh/bun
brew install bun
If you want to install a specific release, you can include the version in the command. You can also view the list of releases here.
brew install bun@1.1.34
To upgrade, it is recommended that you run the brew upgrade
command. However, you can also run bun upgrade
as well.
brew upgrade bun
If you want to uninstall Bun, run the following commands:
brew uninstall bun
brew untap oven-sh/bun