Skip to content

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

docs: default cli installation guide to npm (#35833)

Han Qiao4c91016d6daa
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"
>
<TabPanel id="macos" label="macOS">
@@ -58,18 +58,12 @@ and run one of the following:
- `sudo rpm -i <...>.rpm`
</TabPanel>
-<TabPanel id="npx" label="npm / Bun">
-
-Run the CLI by prefixing each command with `npx`:
-
-```sh
-npx supabase <command>
-```
+<TabPanel id="npm" label="nodejs">
-Or with `bunx`:
+Run the CLI by prefixing each command with `npx` or `bunx`:
```sh
-bunx supabase <command>
+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"
>
<TabPanel id="macos" label="macOS">
@@ -123,7 +117,7 @@ brew upgrade supabase
- `sudo rpm -i <...>.rpm`
</TabPanel>
-<TabPanel id="npm" label="npm / Bun">
+<TabPanel id="npm" label="nodejs">
If you have installed the CLI as dev dependency via [npm](https://www.npmjs.com/package/supabase), you can update it with: