Skip to content

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

Adds Bun instructions (#19632)

Copple98866628c801
diff --git a/apps/docs/pages/guides/cli/getting-started.mdx b/apps/docs/pages/guides/cli/getting-started.mdx
index 3b54b1a5d77..115c0ea2531 100644
--- a/apps/docs/pages/guides/cli/getting-started.mdx
+++ b/apps/docs/pages/guides/cli/getting-started.mdx
@@ -18,24 +18,9 @@ The Supabase CLI provides tools to develop your project locally, deploy to the S
scrollable
size="small"
type="underlined"
- defaultActiveId="npm"
+ defaultActiveId="macos"
queryGroup="platform"
>
-<TabPanel id="npm" label="npm">
-
-Install the CLI as dev dependency via [npm](https://www.npmjs.com/package/supabase):
-
-```sh
-npm install supabase --save-dev
-```
-
-Run the CLI by prefixing each command with `npx` (only applicable when installing through `npm`):
-
-```sh
-npx supabase <command>
-```
-
-</TabPanel>
<TabPanel id="macos" label="macOS">
Install the CLI with [Homebrew](https://brew.sh):
@@ -75,6 +60,27 @@ and run one of the following:
- `sudo dpkg -i <...>.deb`
- `sudo rpm -i <...>.rpm`
+</TabPanel>
+<TabPanel id="npx" label="npm / Bun">
+
+Run the CLI by prefixing each command with `npx`:
+
+```sh
+npx supabase <command>
+```
+
+Or with `bunx`:
+
+```sh
+bunx supabase <command>
+```
+
+You can also install the CLI as dev dependency via [npm](https://www.npmjs.com/package/supabase):
+
+```sh
+npm install supabase --save-dev
+```
+
</TabPanel>
</Tabs>
@@ -86,16 +92,9 @@ When a new [version](https://github.com/supabase/cli/releases) is released, you
scrollable
size="small"
type="underlined"
- defaultActiveId="npm"
+ defaultActiveId="macos"
queryGroup="platform"
>
-<TabPanel id="npm" label="npm">
-
-```sh
-npm update supabase --save-dev
-```
-
-</TabPanel>
<TabPanel id="macos" label="macOS">
```sh
@@ -116,6 +115,15 @@ scoop update supabase
brew upgrade supabase
```
+</TabPanel>
+<TabPanel id="npm" label="npm / Bun">
+
+If you have installed the CLI as dev dependency via [npm](https://www.npmjs.com/package/supabase), you can update it with:
+
+```sh
+npm update supabase --save-dev
+```
+
</TabPanel>
</Tabs>