Bun
Build / code quality tool · Free
A JavaScript and TypeScript toolchain with a runtime, package manager, bundler, and tests: it helps reduce the number of tools in a project.
Also known as: oven-sh/bun; bun; bun-js; bun-runtime

What you can use for free
Runtime, package manager, bundler, and tests locally.
Paid features and costs
Hosting and external APIs are paid for separately.
Access and limitations
Runtime, package manager, bundler, and tests locally. Hosting and external APIs are paid for separately.
Use cases
- Coordinate JavaScript runtime, build, and tests
- Test runtime/build/test operations using the selected Bun capabilities
Example workflow
A possible workflow; this is not a report of hands-on testing.
Coordinate JavaScript runtime, build, and tests.
Before you start
- A repository, package manifests, and configuration.
- A compatible runtime and the target build command.
Steps
- Prepare dependencies and scripts for a compatible project.
- Test runtime/build/test operations using the selected Bun capabilities.
- Add the workflow to scripts or CI with a clear report.
Check your result
- A clean copy of the project reproduces the result.
- Errors produce a nonzero exit code and clear diagnostics.
Choosing Bun
Coordinate JavaScript runtime, build, and tests
Choose this when
- Coordinate JavaScript runtime, build, and tests
- Test runtime/build/test operations using the selected Bun capabilities
Requirements
- A Bun executable for a supported platform and architecture; the source README lists Linux, macOS, and Windows for x64 and ARM64.
Things to consider
- Costs and limits of free use: Hosting and external APIs are paid for separately.
- Terms of use: Bun code is MIT; JavaScriptCore/WebKit is LGPL-2.0, and other bundled components have their own terms.
- Node.js compatibility does not establish verified compatibility with every package and project.
Frequently asked questions
What can you use for free in Bun?
Runtime, package manager, bundler, and tests locally.
What additional costs might arise with Bun?
Hosting and external APIs are paid for separately.
What terms of use matter for Bun?
Bun code is MIT; JavaScriptCore/WebKit is LGPL-2.0, and other bundled components have their own terms.
How do you get started with Bun?
Prepare dependencies and scripts for a compatible project. Test runtime/build/test operations using the selected Bun capabilities. Add the workflow to scripts or CI with a clear report.
Which tasks does Bun combine in one tool?
One executable includes a JavaScript/TypeScript runtime, package manager, script runner, and tests. It runs TypeScript and JSX directly. bun install, bun run, bun test, and bunx serve different stages of work; test dependency compatibility with Node.js in your own project.
License
Bun code is MIT; JavaScriptCore/WebKit is LGPL-2.0, and other bundled components have their own terms.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsEach asset has its own rights
A catalog or gallery does not grant one license for all its content. Check code, fonts, images, models, and templates under the specific resource's license. Studying an idea and creating your own implementation is a different use case from copying source code or assets.
Technologies and topics
- Bun
- build
- Development