Install Bun

Running OpenClaw with Bun Runtime

Bun is an alternative JavaScript runtime that offers faster startup times and improved performance compared to Node.js. OpenClaw supports Bun as an experimental runtime option.

Installing Bun

# macOS / Linux
curl -fsSL https://bun.sh/install | bash

# Windows (via PowerShell)
powershell -c "irm bun.sh/install.ps1 | iex"

# Verify installation
bun --version

Running OpenClaw with Bun

# Clone the OpenClaw repository
git clone https://github.com/openclaw/openclaw.git
cd openclaw

# Install dependencies with Bun
bun install

# Start with Bun runtime
bun run start

Performance Comparison

MetricNode.jsBun
Cold start~2.1s~0.8s
Memory usage~180MB~120MB
Package install~45s~12s

Current Limitations

OpenClaw Setup
Professional local LLM deployment for ultimate privacy and performance.
Explore OpenClaw Setup →