Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ npm install better-auth
Next, generate a secure secret that Better Auth will use to sign authentication tokens. This ensures your tokens cannot be messed with.

```npm
npx @better-auth/cli@latest secret
npx auth@latest secret
```

Copy the generated secret and add it, along with your application's URL, to your `.env` file:
Expand Down Expand Up @@ -259,7 +259,7 @@ Better Auth provides a CLI command to automatically add the necessary authentica
Run the following command:

```npm
npx @better-auth/cli generate
npx auth generate
```

:::note
Expand Down