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 bunIf 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 [email protected]To upgrade, it is recommended that you run the brew upgrade command. However, you can also run bun upgrade as well.
brew upgrade bunIf you want to uninstall Bun, run the following commands:
brew uninstall bun
brew untap oven-sh/bun