
Supabase CLI - 开源后端开发工具
介绍
Supabase CLI 是开源 Firebase 替代方案 Supabase 的命令行工具,提供完整的本地开发和部署能力。
核心功能
- 本地运行 Supabase - 在本地快速启动完整的 Supabase 环境
- 数据库迁移管理 - 生成、运行和管理 PostgreSQL 数据库迁移
- Edge 函数开发 - 创建和部署 Supabase Edge Functions
- 类型生成 - 从数据库 schema 自动生成 TypeScript 类型定义
- 管理 API 调用 - 支持认证的管理 API HTTP 请求
安装方式
up to date, audited 324 packages in 1s
68 packages are looking for funding
run npm fund for details
17 vulnerabilities (11 moderate, 6 high)
To address issues that do not require attention, run: npm audit fix
Some issues need review, and may require choosing a different dependency.
Run npm audit for details.
==> Fetching downloads for: supabase
==> Installing supabase from supabase/tap
🍺 /opt/homebrew/Cellar/supabase/2.84.2: 9 files, 91.6MB, built in 5 seconds
==> Running brew cleanup supabase...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP=1.
Hide these hints with HOMEBREW_NO_ENV_HINTS=1 (see man brew).
==> Caveats
zsh completions have been installed to:
/opt/homebrew/share/zsh/site-functions
适用场景
- 需要 Firebase 替代方案的后端开发
- PostgreSQL 数据库管理
- Edge Functions 开发
- 全栈应用开发
暂无评论
