How to install Bun via homebrew formula

Viewed 1575

I want to install Bun via homebrew, I can not find formula to install it via homebrew

2 Answers

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)

bun is not added in brew package bundle yet.

For now there is only one way install

curl https://bun.sh/install | bash
Related