1Commands:
2 run ./my-script.ts Execute a file with Bun
3 lint Run a package.json script
4 test Run unit tests with Bun
5 x next Execute a package binary (CLI), installing if needed (bunx)
6 repl Start a REPL session with Bun
7 exec Run a shell script directly with Bun
8
9 install Install dependencies for a package.json (bun i)
10 add elysia Add a dependency to package.json (bun a)
11 remove zod Remove a dependency from package.json (bun rm)
12 update underscore Update outdated dependencies
13 link [<package>] Register or link a local npm package
14 unlink Unregister a local npm package
15 pm <subcommand> Additional package management utilities
16
17 build ./a.ts ./b.jsx Bundle TypeScript & JavaScript into a single file
18
19 init Start an empty Bun project from a blank template
20 create tailwindcss Create a new project from a template (bun c)
21 upgrade Upgrade to latest version of Bun.
22 <command> --help Print help text for command.
23
24Learn more about Bun: https://bun.sh/docs
25Join our Discord community: https://bun.sh/discord