# Bun runtime

> Bun runtime is an open-source agent skill for developer tools. Guides an agent on using Bun for runtime, installs, bundling, testing and migrations from. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/AbdullayevTemurmalik/ECC/tree/master/.cursor/skills/bun-runtime
- **Repository:** https://github.com/abdullayevtemurmalik/ecc
- **GitHub stars:** 7
- **License:** MIT
- **Skill name:** bun-runtime
- **Collection:** https://github.com/AbdullayevTemurmalik/ECC
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill gives the agent working knowledge of Bun as an all-in-one JavaScript and TypeScript toolkit covering the runtime, package manager, bundler and test runner. It explains when Bun is a better fit than Node and when Node's wider ecosystem compatibility matters more, and it includes migration steps for moving a Node project to Bun, such as swapping node commands for bun run and npm install for bun install.

Beyond the basics, the skill covers dependency and workspace commands like bun add, bun outdated, bun audit, bun dedupe and bun prune, along with how audit fix changes the lockfile and installed packages. It also points the agent toward Bun's built-in APIs such as Bun.file, bun:sqlite and Bun.serve before reaching for extra dependencies, and it notes Vercel configuration for Bun 1.4 deployments with a frozen lockfile install.

The skill is plain instructions with no scripts. It assumes a JavaScript or TypeScript project and a Bun installation, and it asks the agent to check the installed version with bun --version because CLI flags can change between releases.

## When your agent uses it

> Bun as runtime, package manager, bundler, and test runner. When to choose Bun vs Node, migration notes, and Vercel support.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/AbdullayevTemurmalik/ECC/tree/HEAD/.cursor/skills/bun-runtime)
- [License: MIT](https://github.com/AbdullayevTemurmalik/ECC/tree/HEAD/.cursor/skills/bun-runtime)

## Features

- **Runtime and migration guidance:** Explains when to choose Bun over Node and gives steps for replacing node and npm commands with Bun equivalents.
- **Package management commands:** Covers adding, updating, auditing, deduplicating and pruning dependencies, plus workspace script filtering.
- **Built-in API preferences:** Points to Bun's native file, server, SQLite, SQL, Redis and S3 APIs as alternatives to extra packages.
- **Testing and CI options:** Describes bun test features such as watch mode, isolation, parallel runs, sharding and timing files.
- **Vercel deployment setup:** Shows how to set the Bun runtime version on Vercel and run reproducible frozen-lockfile installs.

## Good for

- Migrate a Node project to run on Bun
- Set up a new TypeScript project with Bun's test runner
- Audit and update dependencies in a Bun project
- Configure a Bun app for deployment on Vercel
- Replace a small Express-style server with Bun.serve

## Install

### Claude Code

This skill ships in the `ecc` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add AbdullayevTemurmalik/ECC
/plugin install ecc@ecc
```

Or copy only this skill to `~/.claude/skills/bun-runtime`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/bun-runtime &&
cp -R "$tmp/.cursor/skills/bun-runtime" ~/.claude/skills/bun-runtime &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/bun-runtime` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/bun-runtime` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/bun-runtime &&
cp -R "$tmp/.cursor/skills/bun-runtime" ~/.agents/skills/bun-runtime &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/bun-runtime` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/bun-runtime` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/bun-runtime &&
cp -R "$tmp/.cursor/skills/bun-runtime" ~/.cursor/skills/bun-runtime &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/bun-runtime` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/AbdullayevTemurmalik/ECC.git --path .cursor/skills/bun-runtime
```

Or copy the folder to `~/.gemini/skills/bun-runtime` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/bun-runtime`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/bun-runtime &&
cp -R "$tmp/.cursor/skills/bun-runtime" ~/.copilot/skills/bun-runtime &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/bun-runtime` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git
```

Then copy `ECC/.cursor/skills/bun-runtime` into your agent's skills folder as `bun-runtime`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Bun runtime need any scripts or extra tools?

It contains no scripts. It assumes Bun is installed and suggests checking the version with bun --version.

### When should the agent prefer Node over Bun?

The skill says to prefer Node for maximum ecosystem compatibility, legacy tooling that assumes Node, or when a dependency has known Bun issues.

### Does bun audit change my project files?

Plain bun audit queries advisories without modifying package.json, bun.lock or node_modules. bun audit fix does change the lockfile and installed packages, so the skill asks for it to be reviewed as a modifying install.

### How do I install Bun runtime in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/bun-runtime to use it in all your projects, or to .claude/skills/bun-runtime in one project. Or install the ecc plugin, which includes it: /plugin marketplace add AbdullayevTemurmalik/ECC, then /plugin install ecc@ecc.

### Does Bun runtime run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Bun runtime?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Bun runtime?

The closest alternatives to Bun runtime are Bun runtime, Bun runtime, Build tooling, V development and Uno sandbox.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Bun runtime](https://ai-powered.com/skills/bun-runtime): Bun runtime is an open-source agent skill for developer tools.
- [Bun runtime](https://ai-powered.com/skills/bun-runtime-fmarzochi): Bun runtime is an open-source agent skill for developer tools.
- [Build tooling](https://ai-powered.com/skills/build-tooling): Build tooling is an open-source agent skill for developer tools.
- [V development](https://ai-powered.com/skills/v-development): V development is an open-source agent skill for developer tools.
- [Uno sandbox](https://ai-powered.com/skills/uno-sandbox): Uno sandbox is an open-source agent skill for cloud and infrastructure.
- [Configuration](https://ai-powered.com/skills/configuration-spark-arena): Configuration is an open-source agent skill for developer tools.
- [Briq sandbox](https://ai-powered.com/skills/briq-sandbox): Briq sandbox is an open-source agent skill for developer tools.
- [Antfu](https://ai-powered.com/skills/antfu): Antfu is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/bun-runtime-abdullayevtemurmalik
