asdf version manager plugin for installing Bun
asdf plugin add bun
Check asdf readme for instructions on how to install & manage versions.
TL;DR: Don't use Bun for global installations
You can use it. You just need to add your globalBinPath
(default: $HOME/.bun/bin
) to $PATH
But Bun has a problem of not being well-suited to handle global installations. https://gist.github.com/cometkim/eb2842d67b40e583e4886e9b897a6af0
This plugin could override the behavior like the asdf-nodejs plugin does for NPM, but I believe that's not the correct move. I would not recommend managing global installations via Bun until this is discussed upstream (oven-sh/bun#6928)
MIT