Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix(docs): remove orphaned cli.mdx and update stale /guides/cli link (#51495)

Alexis Aguilar8617532ae1a4
diff --git a/apps/docs/components/Navigation/Navigation.commands.tsx b/apps/docs/components/Navigation/Navigation.commands.tsx
index 9a9c6c92f18..8ee7409aa98 100644
--- a/apps/docs/components/Navigation/Navigation.commands.tsx
+++ b/apps/docs/components/Navigation/Navigation.commands.tsx
@@ -62,7 +62,7 @@ const navCommands = [
{
id: 'nav-local-cli',
name: 'Go to Local Dev / CLI',
- route: '/guides/cli',
+ route: '/guides/local-development',
icon: () => <ArrowRight />,
},
{
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
index 1044156d824..e950f268564 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
@@ -541,18 +541,6 @@ export const gettingstarted: NavMenuConstant = {
],
}
-export const cli = {
- title: 'CLI',
- items: [
- { name: 'Overview', url: '/guides/cli' },
- { name: 'Managing Environments', url: '/guides/cli/managing-environments' },
- {
- name: 'Using environment variables in config.toml',
- url: '/guides/cli/using-environment-variables-in-config',
- },
- ],
-}
-
export const NativeMobileLoginItems = [
{
name: 'Apple',
diff --git a/apps/docs/content/guides/cli.mdx b/apps/docs/content/guides/cli.mdx
deleted file mode 100644
index 65484bc4c96..00000000000
--- a/apps/docs/content/guides/cli.mdx
+++ /dev/null
@@ -1,31 +0,0 @@
----
-id: 'cli'
-title: 'Local Dev with CLI'
-description: 'Developing locally using the Supabase CLI.'
-subtitle: 'Developing locally using the Supabase CLI.'
-sidebar_label: 'Overview'
----
-
-You can use the Supabase CLI to run the entire Supabase stack locally on your machine, by running `supabase init` and then `supabase start`. To install the CLI, read [the installation guide](/docs/guides/cli/getting-started#installing-the-supabase-cli).
-
-The Supabase CLI provides tools to develop your project locally, deploy to the Supabase Platform, handle database migrations, and generate types directly from your database schema.
-
-## Resources
-
-<div className="grid md:grid-cols-12 gap-4 not-prose">
- <div className="col-span-6">
- <Link href="https://github.com/supabase/cli" passHref>
- <GlassPanel icon={'/docs/img/icons/github-icon'} hasLightIcon={true} title="Supabase CLI">
- The Supabase CLI provides tools to develop manage your Supabase projects from your local
- machine.
- </GlassPanel>
- </Link>
- </div>
- <div className="col-span-6">
- <Link href="https://github.com/supabase/setup-cli" passHref>
- <GlassPanel icon={'/docs/img/icons/github-icon'} hasLightIcon={true} title="GitHub Action">
- A GitHub action for interacting with your Supabase projects using the CLI.
- </GlassPanel>
- </Link>
- </div>
-</div>
diff --git a/apps/docs/content/troubleshooting/error-connection-refused-when-trying-to-connect-to-supabase-database-hwG0Dr.mdx b/apps/docs/content/troubleshooting/error-connection-refused-when-trying-to-connect-to-supabase-database-hwG0Dr.mdx
index fa251d50167..237d9516dcc 100644
--- a/apps/docs/content/troubleshooting/error-connection-refused-when-trying-to-connect-to-supabase-database-hwG0Dr.mdx
+++ b/apps/docs/content/troubleshooting/error-connection-refused-when-trying-to-connect-to-supabase-database-hwG0Dr.mdx
@@ -23,7 +23,7 @@ If you're not able to connect to the Supabase database and see one of the errors
Is the server running on that host and accepting TCP/IP connections?`
- `Circuit breaker open: Unable to establish connection to upstream database`
-These bans will clear after 30mins but you can unban the IPs using the Supabase CLI https://supabase.com/docs/guides/cli following the commands below.
+These bans clear after 30 minutes, but you can unban the IPs using the Supabase CLI. See [Local Development & CLI](/docs/guides/local-development)
## Unban IPs using the Dashboard