| Port details |
- bun JavaScript runtime, bundler, test runner, and package manager
- 1.3.14_3 lang
=2 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2026-04-28 00:21:07
- Last Update: 2026-06-04 08:52:51
- Commit Hash: e29b5ee
- People watching this port, also watch:: tmux, powerdns, rc, sudo-rs, monit
- License: LGPL20
- WWW:
- https://bun.com/
- https://github.com/oven-sh/bun
- Description:
- Bun is a fast JavaScript runtime, bundler, transpiler, and
package manager -- all in one.
Key features:
- Up to 4x faster startup time than Node.js
- Native TypeScript and JSX support (no separate transpilation step)
- Built-in package manager (npm-compatible) with global caching
- Built-in test runner, bundler, and transpiler
- Web-standard APIs: fetch, WebSocket, ReadableStream, etc.
- Node.js compatibility: most Node.js built-in modules work out of the box
- Zig, C++, and Rust -- for maximum performance
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- To install the port:
- cd /usr/ports/lang/bun/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/bun
- pkg install bun
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: bun
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: amd64
- distinfo:
- TIMESTAMP = 1779128958
SHA256 (bun/bootstrap-x86_64-linux-musl.zip) = 0c09b44c0b2432d7ad8a759b685ba8ae1f883902851ac52e282ad60a89bebe42
SIZE (bun/bootstrap-x86_64-linux-musl.zip) = 100112252
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- clang++ : devel/llvm21
- cmake : devel/cmake-core
- git : devel/git
- ninja : devel/ninja
- cargo : lang/rust
- node : www/node24
- npm : www/npm-node24
- Test dependencies:
-
- bash : shells/bash
- Fetch dependencies:
-
- npm : www/npm-node24
- git : devel/git
- cargo : lang/rust
- clang++ : devel/llvm21
- cmake : devel/cmake-core
- ninja : devel/ninja
- node : www/node24
- This port is required by:
- for Run
-
- misc/bun-decompile
Configuration Options:
- No options to configure
- Options name:
- lang_bun
- USES:
- shebangfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
1.3.14_3 04 Jun 2026 08:52:51
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.96.0
PR: 295694 |
1.3.14_2 26 May 2026 04:43:14
    |
Yuri Victorovich (yuri)  |
lang/bun: Add LLVM_VER=21 with explanation for why it is needed |
1.3.14_2 24 May 2026 20:47:58
    |
Yuri Victorovich (yuri)  |
lang/bun: Partially respect CPUTYPE
Bun has a very complex build system using Zig and Rust languages.
It is now respecting CPUTYPE for the most part, but it uses the
bundled FreeBSD binary WebKit with bun-related patches which still
brings in some x86-64-v4 and latest SSE instructions.
This can be resolved by creating a dedicated port for bun-patched
WebKit. |
1.3.14_1 19 May 2026 00:04:26
    |
Yuri Victorovich (yuri)  |
lang/bun: Fix fetch by adding package-lock*.json files to freeze dependencies |
1.3.14 17 May 2026 23:23:01
    |
Yuri Victorovich (yuri)  |
lang/bun: Fix fetch
Reported by: Jimmy Olgeni <olgeni@FreeBSD.org> |
1.3.14 14 May 2026 03:13:49
    |
Yuri Victorovich (yuri)  |
lang/bun: update 1.3.13-93 → 1.3.14 |
1.3.13.93 28 Apr 2026 00:17:47
    |
Yuri Victorovich (yuri)  |
lang/bun: New port: JavaScript runtime, bundler, test runner, and package
manager |