Bub
Bun is a fast JavaScript all-in-one toolkit
Install
brew install oven-sh/bun/bun
# Upgrading bun itself
bun upgradeAdd ~/.bun/bin to your $PATH in the ~/.zshrc file
# verify
bun --version
bun --helpUninstall
brew uninstall bun
rm -rf ~/.bun # for macOS, Linux, and WSLScaffold
To scaffold a new project:
mkdir quickstart
cd quickstart
bun initTo install the TypeScript definitions for Bun's built-in APIs, install bun-types.
bun add -d bun-types # dev dependencyIn the repo root, set .gitattributes and git config as documented here
Utils
package manager
bun pm bin
bun pm bin -g
bun pm ls
bun pm cache
bun pm cache rm
bun updatebun run envLast updated
Was this helpful?