diff --git a/apps/web/content/getting-started/installation.mdx b/apps/web/content/getting-started/installation.mdx index 11ca98a..aede9a2 100644 --- a/apps/web/content/getting-started/installation.mdx +++ b/apps/web/content/getting-started/installation.mdx @@ -19,10 +19,9 @@ helpbase ships as a scaffolder that creates a standalone Next.js project. No run ```bash - npx create-helpbase my-docs + pnpm dlx create-helpbase my-docs ``` - This creates a new directory with a complete help center project. - + This creates a new directory with a complete help center project. `create-helpbase` is intended for greenfield projects. The scaffolder asks where to seed content from. Three options: @@ -56,13 +55,13 @@ The scaffolded project is completely standalone. It has no dependency on the hel ## Adding to an existing project -If you already have a Next.js + shadcn project, use the registry instead: +If you already have a Next.js + shadcn project, use the one-command installer: ```bash -npx shadcn add https://helpbase.dev/r/help-center.json +pnpm dlx helpbase init ``` -This adds the help center components, content pipeline, and routes to your existing project without replacing your layout or configuration. +This adds the full helpbase primitive (docs, MCP server, and sync workflow) to your repo in one shadcn drop. ## Deploy diff --git a/apps/web/content/getting-started/introduction.mdx b/apps/web/content/getting-started/introduction.mdx index 7e77cb1..5e5279d 100644 --- a/apps/web/content/getting-started/introduction.mdx +++ b/apps/web/content/getting-started/introduction.mdx @@ -29,8 +29,7 @@ Most help center tools are either closed-source hosted SaaS or generic wikis tha Run the scaffolder to create a new help center project with sample content: ```bash - npx create-helpbase my-docs - cd my-docs + pnpm dlx helpbase init ```