๐Ÿ†“ Free forever โ€” and licensed to stay that way

Every tool here is open source; its license guarantees the right to use and redistribute it. This mirror is that promise in practice: each package's newest release that is at least 2 months old, served free forever โ€” no account, no authentication.
Security and patch fixes are published immediately. Want every release within hours of upstream? That's the main repository at deb.griffo.io. ๐Ÿš€

๐Ÿ’ฌ Questions, issues or anything about this repo? Join our Discord community โ€” the best place to get help and connect with other users.

๐ŸฅŸ Install Latest Bun on Ubuntu

โณ Not in the free mirror yet โ€” get it from deb.griffo.io (main)
โณ Bun is not in the free mirror yet. The free mirror currently serves Ghostty and Zed, with more on the way. Get Bun from the main repository at deb.griffo.io โ€” every release, within hours of upstream.
SourceVersion
deb.griffo.io (main)1.3.14 โœ…
Official Ubuntu๐Ÿšซ not packaged

Fast all-in-one JavaScript runtime with bundler, test runner, and package manager

โ† Back to home

What is Bun?

Bun is a fast all-in-one JavaScript runtime built from scratch to serve the modern JavaScript ecosystem. It's designed as a drop-in replacement for Node.js with significantly better performance, featuring a built-in bundler, test runner, and package manager all in a single executable.

๐Ÿš€ Why Staying Current Matters: Bun is rapidly evolving with major performance improvements, new JavaScript/TypeScript features, and enhanced compatibility in each release. The latest versions include critical bug fixes, improved Node.js compatibility, and significant speed improvements for package management and bundling.

๐Ÿ”ฅ Key Features of Bun

โšก Blazing Fast

Up to 4x faster than Node.js for many workloads, with optimized JavaScript engine and native code compilation.

๐Ÿ“ฆ Built-in Package Manager

Install packages up to 25x faster than npm with built-in package management and lockfile compatibility.

๐Ÿ› ๏ธ Bundler Included

Native bundler with tree-shaking, code splitting, and hot reloading - no webpack or rollup needed.

๐Ÿงช Test Runner

Built-in test runner compatible with Jest API, with parallel execution and watch mode.

๐Ÿ”„ Node.js Compatible

Drop-in replacement for Node.js with excellent compatibility for existing npm packages and APIs.

๐Ÿ“ TypeScript Native

Run TypeScript files directly without compilation step, with built-in transpilation.

๐Ÿ“ฆ Installation from deb-free.griffo.io

Step 1: Add Repository

sudo install -d -m 0755 /etc/apt/keyrings curl -fsSL https://deb-free.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb-free.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/deb-free.griffo.io.gpg] https://deb-free.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb-free.griffo.io.list > /dev/null sudo apt update
install -d -m 0755 /etc/apt/keyrings curl -fsSL https://deb-free.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb-free.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/deb-free.griffo.io.gpg] https://deb-free.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb-free.griffo.io.list > /dev/null apt update

๐Ÿ“‹ Available Bun Packages

deb-free.griffo.io provides three different Bun packages to suit different needs:

๐ŸฅŸ bun (Recommended)

Metapackage that automatically installs the current stable bun-one. This is the recommended choice for most users as it tracks whichever stable release this free mirror currently serves (newest release at least 2 months old, security fixes immediate).

sudo apt install bun
๐Ÿš€ bun-one

Latest stable release of Bun runtime. This package contains the production-ready version with optimizations for performance and stability.

sudo apt install bun-one
๐Ÿ” bun-profile

Profiling-enabled build of Bun with debugging symbols and profiling capabilities. Ideal for development, debugging, and performance analysis. Slightly larger binary with additional debugging information.

sudo apt install bun-profile

๐Ÿ”„ Managing Multiple Bun Versions

You can install both bun-one and bun-profile simultaneously and switch between them using Debian's update-alternatives system:

Install both versions:

sudo apt install bun-one bun-profile

Configure alternatives (done automatically during package installation):

sudo update-alternatives --install /usr/bin/bun bun /usr/bin/bun-one 100 sudo update-alternatives --install /usr/bin/bun bun /usr/bin/bun-profile 90

Switch between versions interactively:

sudo update-alternatives --config bun

Check current version:

bun --version which bun

Step 2: Install Bun

sudo apt install bun
apt install bun

Step 3: Verify Installation

bun --version bun --help

๐Ÿš€ Quick Start Examples

Create a new project:

mkdir my-bun-app && cd my-bun-app bun init

Install packages (faster than npm):

bun install express bun add -d @types/express

Run TypeScript directly:

echo 'console.log("Hello from Bun!")' > app.ts bun run app.ts

Bundle for production:

bun build ./app.ts --outdir ./dist --minify

Run tests:

bun test

๐Ÿ”ง Configuration

Bun can be configured using a bunfig.toml file in your project root or home directory:

# bunfig.toml [install] # Configure package manager behavior cache = "~/.bun/install/cache" registry = "https://registry.npmjs.org" [run] # Configure script runner shell = "bash" [test] # Configure test runner preload = ["./setup.ts"]

โšก Performance Benefits

๐Ÿ“ฆ Package Installation

Up to 25x faster than npm, 4x faster than pnpm for installing dependencies.

๐Ÿƒ Runtime Performance

4x faster than Node.js for many JavaScript workloads with optimized engine.

๐Ÿ› ๏ธ Bundling Speed

Native bundler significantly faster than webpack, rollup, or esbuild.

๐Ÿงช Test Execution

Parallel test execution with built-in runner, faster than Jest or Vitest.

๐Ÿ“ฆ Package Build Repository

The Ubuntu packages are automatically built and maintained in this GitHub repository:

๐Ÿ”— Related Packages

Enhance your development workflow with these complementary tools from deb.griffo.io:

๐Ÿ“š Additional Resources

๐Ÿ’ Support This Project

If this repository saves you time and effort, please consider supporting it!

โญ Star on GitHub ๐Ÿฆ Share on Twitter

๐Ÿ“ฆ Recent releases at deb.griffo.io (main)

โ“ Frequently asked questions

Is Bun in the official Ubuntu repositories?

No โ€” Bun is not packaged in the official Ubuntu archives. This free mirror serves the newest Bun release that is at least 2 months old; the main repository at deb.griffo.io serves every release within hours of upstream.

How do I install the latest Bun on Ubuntu?

Add the deb-free.griffo.io repository once using the instructions above, then run: sudo apt install bun. New releases arrive through the normal sudo apt upgrade.

Are the packages signed and how are they built?

Every package is signed with the repository's GPG key (EA0F721D231FDD3A0A17B9AC7808B4DD62C41256) and built from upstream releases in public GitHub packaging repositories that anyone can inspect.

Which Ubuntu releases are supported?

Ubuntu 22.04 Jammy, 24.04 Noble, 25.10 Questing and 26.04 Resolute.