4

I want to install Bun via homebrew but I cannot find a formula to install it.

pyrmont
  • 225
  • 5
  • 12
Abhinav Kumar
  • 2,883
  • 1
  • 17
  • 30

3 Answers3

5

Before installing, you need to tap the repo:

brew tap oven-sh/bun
brew install bun
Michael M.
  • 10,486
  • 9
  • 18
  • 34
2

Right now, bun is only in AUR according to repology. And you can search if it is there by brew search bun.

$ brew search "bun"
==> Formulae
bundler-completion          dylibbundler                libunistring                mecab-unidic                rbenv-bundler               run
bundletool                  jsonnet-bundler             libunwind                   mecab-unidic-extended       rbenv-bundler-ruby-version
cargo-bundle                libuninameslist             libunwind-headers           rbenv-bundle-exec           bup

[Update] I tried the provided installation steps, does not work for me with zig 0.10 (zig master build)

chenrui
  • 8,910
  • 3
  • 33
  • 43
1

bun is not added in brew package bundle yet.

For now there is only one way install

curl https://bun.sh/install | bash
nitin737
  • 39
  • 8