Bun's CLI is intentionally familiar — most npm/pnpm muscle memory transfers. The differences are where Bun adds something new.
bun add <pkg> adds a runtime dep, dramatically faster than npm. bun add -d <pkg> adds a dev dep. bun remove <pkg> removes one. bun install installs everything from bun.lock; bun install --frozen-lockfile is the CI mode.
bun run <script> runs a package.json script — or you can omit run for any script that's not a Bun built-in (bun build is Bun's own bundler, not your build script). bun index.ts runs a TypeScript file directly. bun test is the built-in test runner — Jest-compatible API, dramatically faster.
bun build is the bundler. bunx <tool> is Bun's npx. bun pm <subcommand> covers package-manager admin tasks like bun pm migrate (convert yarn.lock or pnpm-lock.yaml to bun.lock). bun audit is the security audit (added in v1.3). bun outdated shows what's behind the latest registry version.