Hasty Briefsbeta

Bilingual

`bun init` automatically creates a Claude.md file by default

a day ago
  • Bun can initialize a project with `bun init` and accept defaults using `-y` flag.
  • It creates package.json, tsconfig.json/jsconfig.json, entry point (default index.ts), README.md, and optionally CLAUDE.md or Cursor rules.
  • The command runs `bun install` at the end to install `@types/bun`.
  • Options include `--help` (-h), `--yes` (-y) to accept prompts, and `--minify` (-m) for type definitions only.
  • Project templates are available via `--react` with presets like `tailwind` or `shadcn`.
  • Output files vary by template and include project configuration and scaffolding.