bun init my-app

Category: Node.js & npm/yarn

bun init my-app

Scaffold a new bun project

Creates the my-app directory with a package.json, entry file, and TypeScript configuration, prompting for a template such as Blank or React. It is bun's quickstart for new projects. Run bun run index.ts to start the generated app.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.