# 使用 Homebrew, scoop 安装 supabase

查看 supabase 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:supabase
```

## 代理安全回答

supabase CLI manages hosted projects, databases, functions, and local dev state.

- **凭据访问:** Reads Supabase tokens, database passwords, env files, and project config.
- **远程变更:** Can deploy functions, run migrations, and change project state.
- **发布/制品风险:** Publishes functions, migrations, and generated API artifacts.
- **推荐控制:** Gate deploy, db push, secrets, link, and token commands.
- **代理使用指南:** Allow local status and generation; require approval for remote database or function changes.

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install supabase
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/supabase
```

  证据: Scoop official bucket manifest trees: bucket/supabase.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:supabase
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/supabase>
- **版本:** 2.111.0
- **来源摘要:** Postgres development platform
- **主页:** <https://supabase.com/docs/reference/cli/about>
- **上游文档:** <https://supabase.com/docs/reference/cli/about>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/supabase/-/supabase-2.111.0.tgz>
- **最后更新:** 2026-08-01T10:46:09Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- supabase (cli)
- supabase (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.111.0
- 管理器更新时间: 2026-08-01
- 本地数据: OK
- 上游仓库: https://supabase.com/docs/reference/cli/about
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Supabase CLI is the official command-line tool for local Supabase development and platform operations, including local stacks, migrations, Edge Functions, backups, type generation, and project automation.

### 项目历史

The official repository was created in November 2020. The README describes a TypeScript/Bun monorepo whose published package lives in `apps/cli`, with a legacy Go CLI source tree also kept in the repository.

### 采用历史

Supabase distributes the CLI through npm, Homebrew, Scoop, GitHub Releases, and Linux packages. The README distinguishes the official Homebrew core formula from the Supabase tap and beta channel, making packaging channels part of the tool's normal release story.

### 使用方式

Common commands include `supabase init`, `supabase start`, `supabase status`, `supabase login`, `supabase link`, `supabase migration`, `supabase db`, `supabase functions`, and `supabase gen types`.

### 为什么软件包爱好者会关心

Package-manager users care about Supabase CLI because it is the reproducible entry point for running a full local Supabase stack, generating project artifacts, and aligning local database migrations with hosted projects.

### 时间线

- 2020: Official GitHub repository created.
- 2026: v2.109.x beta releases documented in the official GitHub releases feed.

### Related projects

- Related official components include the Supabase platform, local development stack, Edge Functions, Management API, Supabase MCP, npm package `supabase`, Homebrew formulae, and the Supabase Scoop bucket.

### 来源

- <https://github.com/supabase/cli>
- <https://github.com/supabase/cli/releases>
- <https://raw.githubusercontent.com/supabase/cli/main/README.md>
- <https://supabase.com/docs/reference/cli/introduction>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** supabase
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Scoop - main/supabase: normalized package name match | Scoop official bucket manifest trees: bucket/supabase.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [node](https://pkg.so/zh-hans/brew/node/) - Runtime dependency declared by Homebrew.
- [libpq](https://pkg.so/zh-hans/brew/libpq/) - Shares pkgdb curated category or tags: cli, database, developer-tools, postgresql.
- [kubectl-cnpg](https://pkg.so/zh-hans/brew/kubectl-cnpg/) - Shares pkgdb curated category or tags: cli, database, developer-tools, postgresql.
- [sqlx-cli](https://pkg.so/zh-hans/brew/sqlx-cli/) - Shares pkgdb curated category or tags: cli, database, developer-tools, postgresql.
- [sql-lint](https://pkg.so/zh-hans/brew/sql-lint/) - Shares pkgdb curated category or tags: cli, database, developer-tools, postgresql.
- [sqlcmd](https://pkg.so/zh-hans/brew/sqlcmd/) - Shares pkgdb curated category or tags: cli, database, developer-tools.
- [dbmate](https://pkg.so/zh-hans/brew/dbmate/) - Shares pkgdb curated category or tags: cli, database, developer-tools, postgresql.
- [localstack](https://pkg.so/zh-hans/brew/localstack/) - Shares pkgdb curated category or tags: cli, developer-tools, local-development.
- [pgcli](https://pkg.so/zh-hans/brew/pgcli/) - Shares pkgdb curated category or tags: cli, database, developer-tools, postgresql.
- [supabase-mcp-server](https://pkg.so/zh-hans/brew/supabase-mcp-server/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, database, developer, developer-tools, node.
- [lando-cli](https://pkg.so/zh-hans/brew/lando-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, development, local.
- [portless](https://pkg.so/zh-hans/brew/portless/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, development, local.
- [supabase](https://pkg.so/zh-hans/npm/supabase/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/supabase.yml](https://github.com/mxcl/pkgdb/blob/main/combined/supabase.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
