Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cometkim/asdf-bun
asdf-vm plugin for installing Bun
https://github.com/cometkim/asdf-bun
asdf asdf-plugin bunjs
Last synced: 3 days ago
JSON representation
asdf-vm plugin for installing Bun
- Host: GitHub
- URL: https://github.com/cometkim/asdf-bun
- Owner: cometkim
- License: mit
- Created: 2022-07-06T19:34:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-10T05:57:00.000Z (5 months ago)
- Last Synced: 2024-10-29T14:42:39.184Z (4 months ago)
- Topics: asdf, asdf-plugin, bunjs
- Language: Shell
- Homepage:
- Size: 34.2 KB
- Stars: 126
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bun - asdf-bun - asdf version manager plugin for installing Bun. (Tools / Adapters)
README
# asdf-bun
[](https://github.com/cometkim/asdf-bun/actions/workflows/ci.yml)[asdf](https://asdf-vm.com/) version manager plugin for installing [Bun](https://bun.sh)
## Installation
```bash
asdf plugin add bun
```## Usage
Check [asdf](https://github.com/asdf-vm/asdf) readme for instructions on how to install & manage versions.
## About global installations
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](https://github.com/asdf-vm/asdf-nodejs/blob/master/shims/npm), but I believe that's not the correct move. I would not recommend managing global installations via Bun until this is discussed upstream (https://github.com/oven-sh/bun/issues/6928)
## LICENSE
MIT