Supabase:CLI
Develop locally, deploy to the Supabase Platform, and set up CI/CD workflows.
Init/Start
The Supabase CLI enables you to run the entire Supabase stack locally, on your machine or in a CI environment. With just two commands, you can set up and start a new local project:
-
supabase login- 로그인 부터 해야 한다. -
supabase init- 로컬 프로젝트를 초기화 한다.supabase/config.toml,supabase/.gitignore파일이 생긴다. -
supabase link- Supabase 프로젝트를 연결한다. -
supabase startto launch the Supabase services
New Function
Troubleshooting
Installing Supabase CLI as a global module is not supported
Install package: supabase@latest
npm warn deprecated [email protected]: Use your platform's native DOMException instead
npm error code 1
npm error path /home/zer0/.opm/var/n/opn-zer0-22.17.0-default/lib/node_modules/supabase
npm error command failed
npm error command sh -c node scripts/postinstall.js
npm error node:internal/modules/run_main:123
npm error triggerUncaughtException(
npm error ^
npm error Installing Supabase CLI as a global module is not supported.
npm error Please use one of the supported package managers: https://github.com/supabase/cli#install-the-cli
npm error
npm error (Use node --trace-uncaught ... to show where the exception was thrown)
npm error
npm error Node.js v22.17.0
npm error A complete log of this run can be found in: /home/zer0/.npm/_logs/2026-03-01T15_08_39_204Z-debug-0.log
Supabase CLI는 npm install -g 글로벌 설치를 더 이상 지원하지 않습니다. 대신 npx로 직접 실행하면 된다: