From 4c91016d6daab1d0dcd63acbfb2d2a499af90f34 Mon Sep 17 00:00:00 2001 From: Han Qiao Date: Mon, 26 May 2025 13:02:07 +0800 Subject: [PATCH] docs: default cli installation guide to npm (#35833) * chore: default cli installation guide to npm * Update getting-started.mdx --- .../local-development/cli/getting-started.mdx | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/apps/docs/content/guides/local-development/cli/getting-started.mdx b/apps/docs/content/guides/local-development/cli/getting-started.mdx index 860332df569..4240378957e 100644 --- a/apps/docs/content/guides/local-development/cli/getting-started.mdx +++ b/apps/docs/content/guides/local-development/cli/getting-started.mdx @@ -15,7 +15,7 @@ The Supabase CLI enables you to run the entire Supabase stack locally, on your m scrollable size="small" type="underlined" - defaultActiveId="macos" + defaultActiveId="npm" queryGroup="platform" > @@ -58,18 +58,12 @@ and run one of the following: - `sudo rpm -i <...>.rpm` - + -Run the CLI by prefixing each command with `npx`: +Run the CLI by prefixing each command with `npx` or `bunx`: ```sh -npx supabase -``` - -Or with `bunx`: - -```sh -bunx supabase +npx supabase --help ``` You can also install the CLI as dev dependency via [npm](https://www.npmjs.com/package/supabase): @@ -89,7 +83,7 @@ When a new [version](https://github.com/supabase/cli/releases) is released, you scrollable size="small" type="underlined" - defaultActiveId="macos" + defaultActiveId="npm" queryGroup="platform" > @@ -123,7 +117,7 @@ brew upgrade supabase - `sudo rpm -i <...>.rpm` - + If you have installed the CLI as dev dependency via [npm](https://www.npmjs.com/package/supabase), you can update it with: