The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: recommend a local CLI install on the front page (#50356)
Miranda Limonczenkobc917370d10d
diff --git a/apps/docs/components/HomePageCover.constants.ts b/apps/docs/components/HomePageCover.constants.tsindex 18155403fbf..14065615029 100644--- a/apps/docs/components/HomePageCover.constants.ts+++ b/apps/docs/components/HomePageCover.constants.ts@@ -1,9 +1,9 @@export const setupCommand = {- installCli: 'npm install -g supabase',+ installCli: 'npm install supabase --save-dev',installPlugin: 'npx plugins add supabase-community/supabase-plugin',- initialize: 'supabase init',+ initialize: 'npx supabase init',} as constexport const setupCommands = [setupCommand.installCli, setupCommand.installPlugin].join('\n')-export const setupPrompt = `Help me get set up with Supabase. Do the following: 1. Install the Supabase CLI globally with \`${setupCommand.installCli}\`. 2. Install the Supabase Plugin with \`${setupCommand.installPlugin}\`. 3. Review my project and determine whether Supabase is already initialized. If it is not initialized, run \`${setupCommand.initialize}\`. 4. Suggest the most relevant next steps.`+export const setupPrompt = `Help me get set up with Supabase. Do the following: 1. Install the Supabase CLI as a project dev dependency with \`${setupCommand.installCli}\`, so the version is pinned per project. 2. Install the Supabase Plugin with \`${setupCommand.installPlugin}\`. 3. Review my project and determine whether Supabase is already initialized. If it is not initialized, run \`${setupCommand.initialize}\`. 4. Suggest the most relevant next steps.`diff --git a/apps/docs/components/HomePageCover.tsx b/apps/docs/components/HomePageCover.tsxindex c6beedac8cf..b818ff79e4e 100644--- a/apps/docs/components/HomePageCover.tsx+++ b/apps/docs/components/HomePageCover.tsx@@ -24,12 +24,12 @@ function SetupPrompt({ cliCode }: { cliCode: ReactNode }) {<PromptTitle icon={<Sparkles />}>AI Prompt</PromptTitle><PromptCopy>{setupPrompt}</PromptCopy><PromptContent>- Help me get set up with Supabase. Do the following: 1. Install the Supabase CLI globally- with{' '}+ Help me get set up with Supabase. Do the following: 1. Install the Supabase CLI as a+ project dev dependency with{' '}<code className="shimmer-none rounded bg-surface-200 px-1 py-0.5 font-mono text-xs text-foreground">{setupCommand.installCli}</code>- . 2. Install the Supabase Plugin with{' '}+ , so the version is pinned per project. 2. Install the Supabase Plugin with{' '}<code className="shimmer-none rounded bg-surface-200 px-1 py-0.5 font-mono text-xs text-foreground">{setupCommand.installPlugin}</code>diff --git a/apps/docs/data/ai-prompts.data.ts b/apps/docs/data/ai-prompts.data.tsindex 6700d988420..2a1f36dee4b 100644--- a/apps/docs/data/ai-prompts.data.ts+++ b/apps/docs/data/ai-prompts.data.ts@@ -282,7 +282,7 @@ database.new and run the instruments table SQL. Then:REFERENCEhttps://supabase.com/docs/guides/getting-started/quickstarts/vue.md`,'monitoring-and-debugging': `Help me monitor and debug my Supabase project. Keep all access read-only. Do the following:-1. Install the Supabase CLI globally with \`${setupCommand.installCli}\`.+1. Install the Supabase CLI as a project dev dependency with \`${setupCommand.installCli}\`.2. Install the Supabase Plugin with \`${setupCommand.installPlugin}\`. The plugin includes the Supabase MCP server.3. Review my project and determine whether Supabase is already initialized. If it is not initialized, run \`${setupCommand.initialize}\`.4. Read https://supabase.com/docs/guides/observability.md and follow it.`,diff --git a/apps/docs/internals/markdown-schema/AiPrompt.test.ts b/apps/docs/internals/markdown-schema/AiPrompt.test.tsindex 528b9a5523d..1aa731a9b8e 100644--- a/apps/docs/internals/markdown-schema/AiPrompt.test.ts+++ b/apps/docs/internals/markdown-schema/AiPrompt.test.ts@@ -40,7 +40,7 @@ describe('AiPrompt markdown schema', () => {})expect(markdown).toContain('Help me monitor and debug my Supabase project.')- expect(markdown).toContain('npm install -g supabase')+ expect(markdown).toContain('npm install supabase --save-dev')expect(markdown).toContain('npx plugins add supabase-community/supabase-plugin')expect(markdown).toContain('read-only')expect(markdown).toContain('https://supabase.com/docs/guides/observability.md')