Skip to content

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

Update tabs for cli.mdx

Joshen Lim771d571f2e8a
diff --git a/apps/temp-docs/docs/guides/api.mdx b/apps/temp-docs/docs/guides/api.mdx
index 2250436d1a6..3feff939b1d 100644
--- a/apps/temp-docs/docs/guides/api.mdx
+++ b/apps/temp-docs/docs/guides/api.mdx
@@ -5,9 +5,6 @@ description: Auto-generating and Realtime APIs.
sidebar_label: Overview
---
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
-
Supabase auto-generates three types of API directly from your database schema.
- REST - interact with your database through a restful interface.
@@ -73,7 +70,6 @@ This creates a corresponding route `todos` which can accept `GET`, `POST`, `PATC
scrollable
size="small"
type="underlined"
- listClassNames="px-8 pt-4"
defaultActiveId="dashboard"
>
<TabPanel id="dashboard" label="Dashboard">
@@ -168,7 +164,6 @@ using the API URL (`SUPABASE_URL`) and Key (`SUPABASE_ANON_KEY`) we provided:
scrollable
size="small"
type="underlined"
- listClassNames="px-8 pt-4"
defaultActiveId="javascript"
>
<TabPanel id="javascript" label="Javascript">
@@ -217,7 +212,6 @@ You can use any GraphQL client with the Supabase GraphQL API. For our GraphQL ex
scrollable
size="small"
type="underlined"
- listClassNames="px-8 pt-4"
defaultActiveId="javascript"
>
<TabPanel id="javascript" label="Javascript">
@@ -285,7 +279,6 @@ By default Realtime is disabled on your database. Let's turn on Realtime for the
scrollable
size="small"
type="underlined"
- listClassNames="px-8 pt-4"
defaultActiveId="dashboard"
>
<TabPanel id="dashboard" label="Dashboard">
@@ -341,7 +334,6 @@ When you create a table in Postgres, Row Level Security is disabled by default.
scrollable
size="small"
type="underlined"
- listClassNames="px-8 pt-4"
defaultActiveId="dashboard"
>
<TabPanel id="dashboard" label="Dashboard">
diff --git a/apps/temp-docs/docs/guides/cli.mdx b/apps/temp-docs/docs/guides/cli.mdx
index 82364b45e62..5c8dc970de0 100644
--- a/apps/temp-docs/docs/guides/cli.mdx
+++ b/apps/temp-docs/docs/guides/cli.mdx
@@ -15,24 +15,12 @@ You can also use the CLI to manage your Supabase projects, handle database migra
## Installation
<Tabs
- groupId="platform"
- defaultValue="macos"
- values={[
- {label: 'macOS', value: 'macos'},
- {label: 'Windows', value: 'windows'},
- {label: 'Linux', value: 'linux'},
- ]}>
-<TabItem value="npm">
-
-Install the CLI as dev dependency via [npm](https://www.npmjs.com/package/supabase):
-
-```sh
-npm install supabase --save-dev
-```
-
-</TabItem>
-
-<TabItem value="macos">
+ scrollable
+ size="small"
+ type="underlined"
+ defaultActiveId="macos"
+>
+<TabPanel id="macos" label="macOS">
Install the CLI with [Homebrew](https://brew.sh):
@@ -40,9 +28,8 @@ Install the CLI with [Homebrew](https://brew.sh):
brew install supabase/tap/supabase
```
-</TabItem>
-
-<TabItem value="windows">
+</TabPanel>
+<TabPanel id="windows" label="Windows">
Install the CLI with [Scoop](https://scoop.sh):
@@ -51,9 +38,8 @@ scoop bucket add supabase https://github.com/supabase/scoop-bucket.git
scoop install supabase
```
-</TabItem>
-
-<TabItem value="linux">
+</TabPanel>
+<TabPanel id="linux" label="Linux">
The CLI is available through [Homebrew](https://brew.sh) and Linux packages.
@@ -73,7 +59,7 @@ and run one of the following:
- `sudo dpkg -i <...>.deb`
- `sudo rpm -i <...>.rpm`
-</TabItem>
+</TabPanel>
</Tabs>
## Updates
@@ -81,44 +67,32 @@ and run one of the following:
When a new [version](https://github.com/supabase/cli/releases) is released, you can update the CLI using the same methods.
<Tabs
- groupId="platform"
- defaultValue="macos"
- values={[
- {label: 'macOS', value: 'macos'},
- {label: 'Windows', value: 'windows'},
- {label: 'Linux', value: 'linux'},
- ]}>
-<TabItem value="npm">
-
-```sh
-npm update supabase --save-dev
-```
-
-</TabItem>
-
-<TabItem value="macos">
+ scrollable
+ size="small"
+ type="underlined"
+ defaultActiveId="macos"
+>
+<TabPanel id="macos" label="macOS">
```sh
brew upgrade supabase
```
-</TabItem>
-
-<TabItem value="windows">
+</TabPanel>
+<TabPanel id="windows" label="Windows">
```powershell
scoop update supabase
```
-</TabItem>
-
-<TabItem value="linux">
+</TabPanel>
+<TabPanel id="linux" label="Linux">
```sh
brew upgrade supabase
```
-</TabItem>
+</TabPanel>
</Tabs>
## See also