macos-setup
🐱 Source ☕️ Java SampleGo Sample Angular Sample
  • Mac Setup
  • Getting Started
    • Xcode
    • Homebrew
    • System Preferences
    • Essentials
    • Dotfiles
  • Applications
    • Ghostty
    • Sublime-text
    • JetBrains
    • VSCode
    • Xcode
    • Marta
    • Benthos
    • OrbStack
    • Traefik
    • n8n
  • Platforms
    • Java
    • Node
      • Bub
      • NPM
      • PNPM
      • Turborepo
    • GoLang
    • Rust
    • Python
      • Agno AI
  • DevOps
    • Development Workflow
      • Git
        • GitHub CLL
      • GitOps
      • Documentation
      • mkcert
      • YubiKey
    • Monorepo
    • dnsmasq
    • Docker
    • Skaffold
    • Kubernetes
    • Helm
    • Kustomize
    • kustomizer
    • Terraform
    • Security
    • Cloud
      • gcloud
      • azure
      • aws
  • Tips
    • Git
    • MacOS
Powered by GitBook
On this page
  • Install
  • Uninstall
  • Scaffold
  • Utils

Was this helpful?

Edit on GitHub
  1. Platforms
  2. Node

Bub

PreviousNodeNextNPM

Last updated 1 year ago

Was this helpful?

is a fast JavaScript all-in-one toolkit

Install

brew tap oven-sh/bun # for macOS and Linux
brew install bun
# Upgrading bun itself
bun upgrade

Add ~/.bun/bin to your $PATH in the ~/.zshrc file

# verify
bun --version
bun --help

Uninstall

brew uninstall bun
rm -rf ~/.bun # for macOS, Linux, and WSL

Scaffold

To scaffold a new project:

mkdir quickstart
cd quickstart
bun init

To install the TypeScript definitions for Bun's built-in APIs, install bun-types.

bun add -d bun-types # dev dependency

Utils

package manager

bun pm bin
bun pm bin -g
bun pm ls
bun pm cache
bun pm cache rm

bun update
bun run env

In the repo root, set .gitattributes and git config as documented

Bun
here