Add `--use-bun` to `create-next-app` (#53467)
This adds support for `--use-bun` to `create-next-app` to use `bun install` when bootstrapping a new project. ``` npx create-next-app --use-bun ``` As with Yarn and pnpm, it reads from `npm_config_user_agent` to determine if the user ran `bunx create-next-app`. If so, it defaults to using Bun. ```sh bunx create-next-app ``` ## For Contributors ### Improving Documentation - [x] Run `pnpm prettier-fix` - [x] `pnpm build && pnpm lint` - [x] Added test to `test/integration/create-next-app/package-manager.test.ts` ---------
Showing
Please
register
or
sign in
to comment