Bun is a fast JavaScript runtime, bundler, transpiler, and
package manager -- all in one.
This port installs the Linux binary of bun, which runs on FreeBSD
through the Linuxulator compatibility layer.
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
You installed the Linux version of Bun.
The 'bun' command runs the Linux binary through the Linuxulator.
Make sure /compat/linux/proc is mounted before using bun:
sudo mount -t linprocfs linprocfs /compat/linux/proc
Run 'bun --help' to get started.