Build fast applications with Bun JavaScript runtime. Use when creating Bun projects, using Bun APIs, bundling, testing, or optimizing Node.js alternatives. Triggers on Bun, Bun runtime, bun.sh, bunx, Bun serve, Bun test, JavaScript runtime.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Bun - The Fast JavaScript Runtime
Build and run JavaScript/TypeScript applications with Bun's all-in-one toolkit.
## Quick Start
```bash
# Install Bun (macOS, Linux, WSL)
curl -fsSL https://bun.sh/install | bash
# Windows
powershell -c "irm bun.sh/install.ps1 | iex"
# Create new project
bun init
# Run TypeScript directly (no build step!)
bun run index.ts
# Install packages (faster than npm)
bun install
# Run scripts
bun run dev
```
## Package Management
```bash
# Install dependencies
bun install # Install all from package.json
bun add express # Add dependency
bun add -d typescript # Add dev dependency
bun add -g serve # Add global package
# Remove packages
bun remove express
# Update packages
bun update
# Run package binaries
bunx prisma generate # Like npx but faster
bunx create-next-app
# Lockfile
bun install --frozen-lockfile # CI mode
```
### bun.lockb vs package-lock.json
```bash
# Bun uses binary lockfile (bun.lockb) - much faster
# To generate yarn.lock for compatibility:
bun install --yarn
# Import from other lockfiles
bun install # Auto-detects package-lock.json, yarn.lock
```
## Bun Runtime
### Run Files
```bash
…
The line at the top of this page pins the label git:20260107.dce8966, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_suxnhlgbmedujpek
GET https://markdownregistry.com/api/v1/resolve?ref=makiya1202/ai-agents-skills/bun
GET https://markdownregistry.com/api/v1/blob/7c5deb273e49ca7e8a604b72ca943902f37d4351808a3daee10f0fe9107537b2
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
makiya1202/ai-agents-skills · skills/analytics-metrics/SKILL.md · Build data visualization and analytics dashboards. Use when creating charts, KPI displays, metrics dashboards, or data…
makiya1202/ai-agents-skills · skills/aws-account-management/SKILL.md · Manage AWS accounts, organizations, IAM, and billing. Use when setting up AWS Organizations, managing IAM policies…
makiya1202/ai-agents-skills · skills/aws-agentcore/SKILL.md · Build AI agents with AWS Bedrock AgentCore. Use when developing agents on AWS infrastructure, creating tool-use…
makiya1202/ai-agents-skills · skills/aws-strands/SKILL.md · Build AI agents with Strands Agents SDK. Use when developing model-agnostic agents, implementing ReAct patterns…
makiya1202/ai-agents-skills · skills/copilot-docs/SKILL.md · Configure GitHub Copilot with custom instructions. Use when setting up .github/copilot-instructions.md, customizing…
makiya1202/ai-agents-skills · skills/fal-ai/SKILL.md · Generate images, videos, and audio with fal.ai serverless AI. Use when building AI image generation, video generation…
makiya1202/ai-agents-skills · skills/figma/SKILL.md · Integrate with Figma API for design automation and code generation. Use when extracting design tokens, generating…
makiya1202/ai-agents-skills · skills/github-trending/SKILL.md · Fetch and display GitHub trending repositories and developers. Use when building dashboards showing trending repos…
makiya1202/ai-agents-skills · skills/langchain/SKILL.md · Build LLM applications with LangChain and LangGraph. Use when creating RAG pipelines, agent workflows, chains, or…
makiya1202/ai-agents-skills · skills/mermaid-diagrams/SKILL.md · Create diagrams and visualizations using Mermaid syntax. Use when generating flowcharts, sequence diagrams, class…
bastani-inc/atomic · .agents/skills/bun/SKILL.md · Use when building, testing, and deploying JavaScript/TypeScript applications. Reach for Bun when you need to run…
code-yeongyu/senpi · packages/senpi-codemode/src/skill/bun/SKILL.md · Read before a js eval cell that spawns a process, server or PTY, installs a package, or starts a long run, and before…
belos-street/stock-analytics-agent · .agents/dev/bun/SKILL.md · Fast, modern JavaScript runtime and toolkit. IMPORTANT: This is Bun, NOT Node.js. Use Bun-specific APIs below. Do NOT…
xobotyi/cc-foundry · plugins/javascript/skills/bun/SKILL.md · Write and review Bun: the Bun-native API surface against its `node:` equivalents, the HTTP and WebSocket server, file…
bendrucker/claude · plugins/bun/skills/bun/SKILL.md · Bun runtime patterns. Use when running bun commands, working with package.json/bun.lock, writing TypeScript scripts…
dalestudy/skills · skills/bun/SKILL.md · Node.js 대신 Bun 런타임 사용을 위한 스킬. 다음 상황에서 사용: (1) 새 JavaScript/TypeScript 프로젝트 생성 시, (2) package.json 또는 의존성 관련 작업 시, (3)…