mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
docs: default cli installation guide to npm (#35833)
* chore: default cli installation guide to npm * Update getting-started.mdx
This commit is contained in:
1 parent
bd7334d085
commit
4c91016d6d
1 file changed
+6
-12
@@ -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">
|
||||
<TabPanel id="npm" label="nodejs">
|
||||
|
||||
Run the CLI by prefixing each command with `npx`:
|
||||
Run the CLI by prefixing each command with `npx` or `bunx`:
|
||||
|
||||
```sh
|
||||
npx supabase <command>
|
||||
```
|
||||
|
||||
Or with `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:
|
||||
|
||||
|
||||
Reference in new issue
Block a user