Skip to content
secondsky avatar

Bun Package Manager

Bun package manager commands, workspaces, lockfiles, and pnpm/npm/yarn migration for dependency management.

CCM score
56 of 100
skills.sh installs
466
GitHub stars
257
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers install, add, remove, and update commands, plus the bunx binary runner and cache clearing
  • Includes workspace filtering with --filter, bun.lock text lockfiles, and overrides for pinning nested versions
  • Blocks dependency lifecycle scripts by default, allowing only packages listed in trustedDependencies
  • Designed for teams moving off npm, yarn, or pnpm and for CI pipelines using bun ci

Install

$ npx -y skills add secondsky/claude-skills --skill bun-package-manager -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Bun Package Manager

Bun's package manager is a dramatically faster replacement for npm, yarn, and pnpm. Up to 25x faster than npm install.

Quick Start

# Install all dependencies
bun install

# Add packages
bun add react react-dom
bun add -D typescript @types/react

# Remove packages
bun remove lodash

# Update packages
bun update

# Run package binaries
bunx create-next-app

Core Commands

CommandDescription
bun installInstall all dependencies
bun add <pkg>Add dependency
bun add -D <pkg>Add dev dependency
bun add -O <pkg>Add optional dependency
bun add --peer <pkg>Add peer dependency
bun remove <pkg>Remove dependency
bun update [pkg]Update dependencies
bunx <pkg>Run package binary
bun pm cache rmClear cache

Installation Flags

# Production mode (no devDependencies)
bun install --production

# Frozen lockfile (CI/CD)
bun install --frozen-lockfile
bun ci  # shorthand

# Dry run
bun install --dry-run

# Verbose/Silent
bun install --verbose
bun install --silent

# Force reinstall
bun install --force

Details

Repository
github.com/secondsky/claude-skills
Categories
Frontend & UI Code, CLI & Terminal
First seen
Jun 3, 2026

Questions

What does the bun-package-manager skill do?

bun-package-manager covers Bun's package manager commands for install, add, remove and update, plus workspaces, lockfiles and migration from npm, yarn and pnpm. It guides an agent through dependency management with Bun, and the SKILL.md says Bun's package manager is a much faster replacement for npm, yarn and pnpm.

How do I install the bun-package-manager skill?

Run npx -y skills add secondsky/claude-skills --skill bun-package-manager -y in a project to install bun-package-manager. Once installed, bun-package-manager lets the agent run Bun install, add, remove and update commands and set up Bun workspaces.

Where does bun-package-manager sit among Frontend & UI Code skills?

bun-package-manager is in the Frontend & UI Code category on Claude Marketplaces, next to vercel-react-best-practices, web-design-guidelines and design-taste-frontend. Unlike those UI-focused skills, bun-package-manager is about dependency management, covering lockfiles, workspaces, lifecycle script trust and migration from other package managers.

Does bun-package-manager handle monorepos and CI?

Yes, bun-package-manager covers Bun workspaces for monorepos, including running commands across matching packages with filters. Its SKILL.md also covers frozen lockfile installs for CI, with a GitHub Actions example using oven-sh/setup-bun.

More from secondsky/claude-skills

All 116

Similar to Bun Package Manager

More Frontend & UI Code