bun-cli

Guides developers on using Bun CLI to replace npm/yarn/p workflows.

4|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/dmythro/agent-skills --skill bun-cli-dmythro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun-cli
Source: https://github.com/dmythro/agent-skills/tree/main/skills/bun-cli
Command: npx skills add https://github.com/dmythro/agent-skills --skill bun-cli-dmythro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Bun CLI workflow reference helps developers manage Bun-based projects, replacing npm/npx/yarn/pnpm workflows with Bun-native commands and providing a centralized guide for install, run, test, build, and configuration tasks.

Core Features & Use Cases

  • Comprehensive Bun command reference for bun install/add/remove, bun run, bun test, bun build, bunx, bun patch, and bunfig.toml
  • Guidance for zero-config frontend development, workspace catalogs, and parallel/sequential execution
  • Real-world scenarios: setting up a Bun project, converting existing npm workflows, debugging lockfile and workspace issues

Quick Start

Run bun init to initialize a Bun project, then explore bun install, bun run, and bun build to see Bun CLI in action.

Frequently Asked Questions about bun-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I replace npm or yarn workflows with Bun CLI commands?

To replace npm or yarn workflows with Bun CLI, use native commands like bun install, bun add, and bun run for package management and scripting. This provides a centralized reference for converting existing npm workflows to Bun-native equivalents.

What is the best way to set up a new Bun project from scratch?

The best way to set up a new Bun project is to run the bun init command to initialize the project structure. You can then explore bun install, bun run, and bun build to see the Bun CLI in action for development and bundling.

Does Bun CLI support monorepos and workspace configuration?

Yes, Bun CLI supports monorepos through workspace catalogs and bunfig.toml configuration. It provides guidance for managing complex project structures, including parallel and sequential script execution across workspace packages.

How do I run tests and build projects using Bun?

To run tests and build projects using Bun, execute bun test for testing and bun build for bundling. These Bun-native commands streamline frontend tooling and development workflows without requiring external testing frameworks.

Why am I encountering lockfile or workspace issues when using Bun install?

Lockfile or workspace issues during bun install often stem from misconfigured workspace catalogs or bunfig.toml settings. The Bun CLI reference includes real-world scenarios for debugging these specific lockfile and workspace configuration problems.

Can I use Bun CLI for zero-config frontend development?

Yes, you can use Bun CLI for zero-config frontend development by leveraging its built-in dev server and bundling capabilities. It allows solo projects and small teams to run and build frontend applications without manual configuration.