@aliyun-supabase/cli
v1.0.5
Published
阿里云 Supabase CLI - AnalyticDB PostgreSQL 版 Supabase 命令行工具
Readme
Aliyun Supabase CLI
Command-line tool for managing AnalyticDB PostgreSQL Supabase projects on Alibaba Cloud.
Built on top of the open-source Supabase CLI with Alibaba Cloud platform support enabled by default.
Installation
npm install @aliyun-supabase/cliOr install globally:
npm install -g @aliyun-supabase/cliThe supabase command will be available after installation.
Supported Platforms
- macOS (Apple Silicon / Intel)
- Linux (ARM64 / AMD64)
Quick Start
1. Configure Credentials
export ALIYUN_ACCESS_KEY_ID="your-access-key-id"
export ALIYUN_ACCESS_KEY_SECRET="your-access-key-secret"2. List Projects
supabase projects list3. Database Operations
# Link to a project
supabase link --project-ref sbp-xxxxxxx --password "your-db-password"
# Pull remote schema
supabase db pull
# Push local migrations
supabase db push
# Run SQL queries
supabase db query "SELECT * FROM public.users LIMIT 10" --linkedFeatures
- Project Management - Create, list, and manage AnalyticDB Supabase projects
- Database Management - Schema operations, migration management, SQL queries
- Edge Functions - Deploy and manage Edge Functions
- Storage - File upload, download, and bucket management
- Auth - User CRUD operations
- Infrastructure - VPC, availability zones, IP whitelist management (Alibaba Cloud exclusive)
Documentation
For the full usage guide, see: Aliyun Supabase CLI Documentation
License
MIT
