I want to install Bun via homebrew but I cannot find a formula to install it.
Asked
Active
Viewed 2,900 times
4
-
1Maybe there isn't one. https://github.com/Jarred-Sumner/bun/issues/272 – jonrsharpe Jul 06 '22 at 15:53
-
1looks like `Bun` isn't packaged for *any* package manager. They only provide a script that installs it, which they claim works on MacOS, Linux and WSL. – Esther Jul 06 '22 at 15:53
-
1Bun is packaged in AUR (Arch User Repository). Check out bun-bin @Ester – Maciej Bledkowski Jul 07 '22 at 01:31
3 Answers
5
Before installing, you need to tap the repo:
brew tap oven-sh/bun
brew install bun

Michael M.
- 10,486
- 9
- 18
- 34

Eduardo Borges
- 51
- 1
- 1
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