https://github.com/alertbox/feature-setup-bun
Set up your @devcontainers with a specific version of Bun by @oven-sh
https://github.com/alertbox/feature-setup-bun
bun devcontainer-features developer-tools
Last synced: 8 months ago
JSON representation
Set up your @devcontainers with a specific version of Bun by @oven-sh
- Host: GitHub
- URL: https://github.com/alertbox/feature-setup-bun
- Owner: alertbox
- License: mit
- Created: 2025-05-31T15:26:11.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-06-01T00:10:22.000Z (8 months ago)
- Last Synced: 2025-06-01T07:23:39.553Z (8 months ago)
- Topics: bun, devcontainer-features, developer-tools
- Language: Shell
- Homepage: https://bun.sh
- Size: 20.5 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Setup Bun in Dev Containers
Download, install, and setup specific version of [Bun](https://bun.sh/) in your Dev Container.
> [!note]
>
> Originally, this was created to have an isolated development environment to install the pre-release versions on WSL. See [Known Issues](#known-issues) to learn more.
## Quick Start
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/alertbox/try-bun)
You can also add this feature to your `devcontainer.json` file.
```json filename="devcontainer.json"
"features": {
"ghcr.io/alertbox/oven-sh/bun:1": {}
}
```
### Installing packages globally
You can also install packages globally, using the `packages` option. Typically this is used for installing CLI tools and the like.
```json filename="devcontainer.json"
"features": {
"ghcr:io/alertbox/oven-sh/bun:1": {
"packages": "cowsay"
}
}
```
### Node.js not needed
You don't need to use the feature [node](https://github.com/devcontainers/features/tree/main/src/node#readme) in most cases.
## Options
See [src/bun](./src/bun/README.md) folder to learn more about options.
## Contributing
The official repo to contribute would be [@oven-sh/bun](https://github.com/oven-sh/bun?tab=readme-ov-file#readme).
Have a suggestion or a bug fix? Just open a pull request or an issue. Include clear and simple instructions possible.
## Known Issues
- [Windows Support @oven-sh/bun #43](https://github.com/oven-sh/bun/issues/43)
- [Proposal: Create a feature to install Bun @devcontainers/features #949](https://github.com/devcontainers/features/pull/949)
## License
Copyright (c) The Alertbox, Inc. (@alertbox). All rights reserved.
The source code is license under the [MIT license](#MIT-1-ov-file).