diff --git a/README.md b/README.md index 2b0e5cc4..704362a6 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ ## Quick Start ```sh -npm i -D @sidebase/nuxt-auth +npx nuxi@latest module add sidebase-auth ``` Then visit the [Quick Start documentation](https://sidebase.io/nuxt-auth/getting-started/quick-start) to setup the module for <= v0.5 - the current stable version. diff --git a/docs/content/1.getting-started/2.installation.md b/docs/content/1.getting-started/2.installation.md index 3496f27a..aaaee1af 100644 --- a/docs/content/1.getting-started/2.installation.md +++ b/docs/content/1.getting-started/2.installation.md @@ -4,18 +4,10 @@ description: "How to install nuxt-auth." # Installation -You can install `nuxt-auth` via `npm`, `yarn` or `pnpm`: -::code-group -```bash [npm] -npm i -D @sidebase/nuxt-auth -``` -```bash [yarn] -yarn add --dev @sidebase/nuxt-auth +You can install `nuxt-auth` using `nuxi`: +```bash +npx nuxi@latest module add sidebase-auth ``` -```bash [pnpm] -pnpm i -D @sidebase/nuxt-auth -``` -:: ## Specifics: `authjs`-Provider