53 Entwickler-Tools, immer aktuell — neue Upstream-Releases landen innerhalb von Stunden in apt. Discord beitreten

📅 Ab ist für den apt-Mirror ein Abo erforderlich. Preise ansehen · 🆓 Es gibt einen für immer kostenlosen Spiegel

🥟 Neueste installieren Bun auf Debian

Neueste Version: 1.4.0 · aktualisiert 2026-08-20
QuelleVersion
deb.griffo.io1.4.0 ✅
Offizielles Debian🚫 nicht paketiert

Schnelle All-in-One JavaScript-Laufzeitumgebung mit Bundler, Test-Runner und Paketmanager

← Zurück zur Startseite
📌 Installation auf einem bestimmten Release? Debian 12 (bookworm) · Debian 13 (trixie) · Debian 14 (forky) · Debian Sid

Was ist 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.

🚀 Warum neueste Versionen wichtig sind: 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.

🔥 Hauptmerkmale von 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 von deb.griffo.io

Befehle ausführen

Schritt 1: Repository hinzufügen

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

🆓 Es gibt einen für immer kostenlosen Spiegel. deb-free.griffo.io liefert Pakete für immer kostenlos — ohne Konto, ohne Abo, höchstens 2 Monate hinter Upstream, Sicherheitsfixes sofort. Derzeit enthält er cliamp, Ghostty, lazydocker, Oh My Posh und Zed; Bun ist nicht dabei, deshalb führt heute nur das Repository oben dorthin — auf Anfrage kann es aufgenommen werden.

So funktioniert der kostenlose Spiegel →

🧩 Zur extrepo-Option. extrepo ist Debians eigenes Werkzeug für externe Repositories: Es legt die Sources-Datei an und installiert den Signaturschlüssel für dich, nachdem es ihn gegen signierte Metadaten geprüft hat. Dieses Repository ist dort als griffo registriert, der für immer kostenlose Spiegel als griffo-free. Unter Debian (bookworm, trixie, forky und sid) sind die Befehle oben damit die gesamte Einrichtung.

extrepo richtet nur die Sources-Datei und den Schlüssel ein; die Zugangsdaten eines Abos gehören weiterhin in /etc/apt/auth.conf.d/deb.griffo.io.conf. Ubuntu wird nicht abgedeckt, denn extrepo veröffentlicht Metadaten nur für Debian-Suites: dort nimmst du die Befehle mit sudo oder als root.

📋 Available Bun Packages

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

🥟 bun (Recommended)

Metapackage that automatically installs the latest stable bun-one. This is the recommended choice for most users as it ensures you always get the latest stable release.

sudo apt install bun
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
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
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
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
update-alternatives --install /usr/bin/bun bun /usr/bin/bun-one 100
update-alternatives --install /usr/bin/bun bun /usr/bin/bun-profile 90

Switch between versions interactively:

sudo update-alternatives --config bun
update-alternatives --config bun

Check current version:

bun --version
which bun

Schritt 2: Installieren 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

Die Debian-Pakete werden automatisch in diesem GitHub-Repository erstellt und gepflegt:

🔗 Related Packages

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

📚 Additional Resources

📦 Neueste Releases aus diesem Repository

❓ Häufig gestellte Fragen

Ist Bun in den offiziellen Debian-Paketquellen?

Nein, Bun ist nicht in den offiziellen Debian-Archiven paketiert. Dieses Repository ist derzeit die einzige apt-Quelle und liefert Bun 1.4.0.

Wie installiere ich das neueste Bun unter Debian?

Fügen Sie das deb.griffo.io-Repository einmalig hinzu (Anleitung oben) und führen Sie dann aus: sudo apt install bun. Neue Releases kommen über das normale sudo apt upgrade.

Sind die Pakete signiert und wie werden sie gebaut?

Jedes Paket ist mit dem GPG-Schlüssel des Repositories (EA0F721D231FDD3A0A17B9AC7808B4DD62C41256) signiert und wird aus Upstream-Releases in öffentlichen GitHub-Repositories gebaut, die jeder einsehen kann.

Welche Debian-Versionen werden unterstützt?

Debian 12 Bookworm, Debian 13 Trixie, Forky und Sid.