Bun Shell
Use Bun's shell scripting API to run shell commands from JavaScript
Install
npx skills add jarle/bun-skills --skill Bun Shellgit clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-runtime-shell ~/.claude/skills/Bun-ShellPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Shell
> Use Bun's shell scripting API to run shell commands from JavaScript
Bun Shell makes shell scripting with JavaScript & TypeScript fun. It's a cross-platform bash-like shell with seamless JavaScript interop.
Quickstart:
```ts index.ts icon="https://mintcdn.com/bun-1dd33a4e/nIz6GtMH5K-dfXeV/icons/typescript.svg?fit=max&auto=format&n=nIz6GtMH5K-dfXeV&q=85&s=5d73d76daf7eb7b158469d8c30d349b0" theme={"theme":{"light":"github-light","dark":"dracula"}}
import { $ } from "bun";
const response = await fetch("https://example.com");
// Use Response as stdin.
await $`cat < ${response} | wc -c`; // 1256
```
***
## Features
* **Cross-platform**: works on Windows, Linux & macOS. Instead of `rimraf` or `cross-env`', you can use Bun Shell without installing extra dependencies. Common shell commands like `ls`, `cd`, `rm` are implemented natively.
* **Familiar**: Bun Shell is a bash-like shell, supporting redirection, pipes, environment variables and more.
* **Globs**: Glob patterns are supported natively, including `**`, `*`, `{expansion}`, and more.
* **Template literals**: Template literals are used to execute shell commands. This allows for easy interpolation of variables and expressions.
* **Safety**: Bun Shell escapes all strings by default, preventing shell injection attacks.
* **JavaScript interop**: Use `Response`, `ArrayBuffer`, `Blob`, `Bun.file(path)` and other JavaScript objects as stdin, stdout, and stderr.Details
- Skill name
Bun Shell- Repository
- jarle/bun-skills
- Path
skills/bun-runtime-shell/SKILL.md- License
- MIT
- Repo updated
- 24 February 2026
FAQ
What does the Bun Shell skill do?
Use Bun's shell scripting API to run shell commands from JavaScript
How do I install the Bun Shell skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun Shell. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bun Shell popular?
It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.
Related skills
Bun Archive
9jarle/bun-skills
Create and extract tar archives with Bun's fast native implementation
Bun Auto Install
9jarle/bun-skills
Bun's automatic package installation feature for standalone script execution
Bun Bun Add
9jarle/bun-skills
Add packages to your project with Bun's fast package manager
Bun Single File Executable
9jarle/bun-skills
Generate standalone executables from TypeScript or JavaScript files with Bun
Bun Secrets
9jarle/bun-skills
Use Bun's Secrets API to store and retrieve sensitive credentials securely
Bun Transpiler
9jarle/bun-skills
Use Bun's transpiler to transpile JavaScript and TypeScript code
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.