bun

Configure and use Bun as a JavaScript runtime, bundler, package manager, and test runner.

4|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/mgd34msu/goodvibes-gemini --skill bun-mgd34msu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bun
Source: https://github.com/mgd34msu/goodvibes-gemini/tree/main/skills/bun
Command: npx skills add https://github.com/mgd34msu/goodvibes-gemini --skill bun-mgd34msu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to using Bun, an all-in-one JavaScript toolkit that aims to replace Node.js, npm, Webpack, and Jest with a single, fast executable.

Core Features & Use Cases

  • Runtime: Execute JavaScript and TypeScript directly.
  • Package Manager: Install, update, and remove packages efficiently.
  • Bundler: Compile and optimize JavaScript/TypeScript for production.
  • Test Runner: Write and execute unit tests with built-in mocking.
  • Use Case: Quickly set up a new Node.js project, install dependencies, run development scripts, bundle for production, and run tests, all using the bun command.

Quick Start

Install Bun by running curl -fsSL https://bun.sh/install | bash.

Frequently Asked Questions about bun

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

FAQPage Schema
How do I set up a new JavaScript project using a fast all-in-one runtime?▼

To set up a JavaScript project with a fast all-in-one runtime, install Bun via the provided shell command and use the `bun` command to handle project initialization, dependency installation, and script execution in one step.

Can I run TypeScript files directly without compiling them first?▼

Yes, you can run TypeScript files directly without manual compilation. Bun functions as a JavaScript runtime with native TypeScript support, allowing immediate execution of TypeScript code out of the box.

What is the best way to bundle and optimize JavaScript for production?▼

The best way to bundle and optimize JavaScript for production is using a dedicated bundler. Bun includes a built-in bundler that compiles and optimizes JavaScript and TypeScript files efficiently for production environments.

How do I write and execute unit tests with built-in mocking?▼

To write and execute unit tests with built-in mocking, use Bun's integrated test runner. It allows you to write tests and run them directly through the `bun` command, streamlining the testing process without external libraries.

Does this JavaScript runtime support executing shell commands and file system operations?▼

Yes, this JavaScript runtime supports executing shell commands and file system operations. Bun integrates native features for HTTP serving, file system interactions, and shell command execution directly within the runtime environment.