Bun Bunfig.toml
Configure Bun's behavior using its configuration file bunfig.toml
Install
npx skills add jarle/bun-skills --skill Bun bunfig.tomlgit 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-bunfig ~/.claude/skills/Bun-bunfig.tomlPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# bunfig.toml
> Configure Bun's behavior using its configuration file bunfig.toml
Bun's behavior can be configured using its configuration file, `bunfig.toml`.
In general, Bun relies on pre-existing configuration files like `package.json` and `tsconfig.json` to configure its behavior. `bunfig.toml` is only necessary for configuring Bun-specific things. This file is optional, and Bun will work out of the box without it.
## Global vs. local
In general, it's recommended to add a `bunfig.toml` file to your project root, alongside your `package.json`.
To configure Bun globally, you can also create a `.bunfig.toml` file at one of the following paths:
* `$HOME/.bunfig.toml`
* `$XDG_CONFIG_HOME/.bunfig.toml`
If both a global and local `bunfig` are detected, the results are shallow-merged, with local overriding global. CLI flags will override `bunfig` setting where applicable.
## Runtime
Bun's runtime behavior is configured using top-level fields in the `bunfig.toml` file.
### `preload`
An array of scripts/plugins to execute before running a file or script.
```toml title="bunfig.toml" icon="settings" theme={"theme":{"light":"github-light","dark":"dracula"}}
# scripts to run before `bun run`-ing a file or script
# register plugins by adding them to this list
preload = ["./preload.ts"]
```
### `jsx`Details
- Skill name
Bun bunfig.toml- Repository
- jarle/bun-skills
- Path
skills/bun-runtime-bunfig/SKILL.md- License
- MIT
- Repo updated
- 24 February 2026
FAQ
What does the Bun Bunfig.toml skill do?
Configure Bun's behavior using its configuration file bunfig.toml
How do I install the Bun Bunfig.toml skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun bunfig.toml. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bun Bunfig.toml 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 Catalogs
9jarle/bun-skills
Share common dependency versions across multiple packages in a monorepo
Bun Bun Init
9jarle/bun-skills
Scaffold an empty Bun project with the interactive `bun init` command
Bun Cookies
9jarle/bun-skills
Use Bun's native APIs for working with HTTP cookies
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.