Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bun Support to Next.js Quickstart #1948

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions docs/quickstarts/nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ description: Add authentication and user management to your Next.js app with Cle

Run the following command to install the SDK:

<CodeBlockTabs options={["npm", "yarn", "pnpm"]}>
<CodeBlockTabs options={["npm", "yarn", "pnpm", "bun"]}>
```bash {{ filename: 'terminal' }}
npm install @clerk/nextjs
```
Expand All @@ -43,6 +43,10 @@ description: Add authentication and user management to your Next.js app with Cle
```bash {{ filename: 'terminal' }}
pnpm add @clerk/nextjs
```

```bash {{ filename: 'terminal' }}
bun add @clerk/nextjs
```
</CodeBlockTabs>

## Set your Clerk API keys
Expand Down Expand Up @@ -161,7 +165,7 @@ description: Add authentication and user management to your Next.js app with Cle

Run your project with the following command:

<CodeBlockTabs options={["npm", "yarn", "pnpm"]}>
<CodeBlockTabs options={["npm", "yarn", "pnpm", "bun"]}>
```bash {{ filename: 'terminal' }}
npm run dev
```
Expand All @@ -173,6 +177,10 @@ description: Add authentication and user management to your Next.js app with Cle
```bash {{ filename: 'terminal' }}
pnpm dev
```

```bash {{ filename: 'terminal' }}
bun dev
```
</CodeBlockTabs>

Visit your app's homepage at [http://localhost:3000](http://localhost:3000). Sign up to create your first user.
Expand Down