Back to Devbox

Bun

examples/development/bun/README.md

0.17.2672 B
Original Source

Bun

Bun projects can be run in Devbox by adding the Bun runtime + package manager to your project.

Example Repo

Add Bun to your Project

bash
devbox add bun@latest

You can see which versions of bun are available using:

bash
devbox search bun

To update bun to the latest version:

bash
devbox update bun

Scripts

To install dependencies:

bash
devbox run bun install

To start + watch your project:

bash
devbox run dev

This project was created using bun init in bun v1.0.33. Bun is a fast all-in-one JavaScript runtime.