Repository navigation
docs: clarify npm global install is unsupported for Supabase CLI - #41886
Conversation
|
@omwanere is attempting to deploy a commit to the Supabase Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
8 Skipped Deployments
|
|
Thanks for contributing to Supabase! ❤️ Our team will review your PR. A few tips for a smoother review process:
|
WalkthroughAdded two admonition note blocks to the Supabase CLI getting-started doc clarifying that global Changes
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📜 Recent review detailsConfiguration used: Repository UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (5)📓 Common learnings📚 Learning: 2025-12-11T17:04:40.037ZApplied to files:
📚 Learning: 2025-12-11T17:04:40.037ZApplied to files:
📚 Learning: 2025-12-11T17:04:40.037ZApplied to files:
📚 Learning: 2026-01-05T23:42:52.357ZApplied to files:
🔇 Additional comments (1)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@apps/docs/content/guides/local-development/cli/getting-started.mdx`:
- Around line 75-85: The Admonition component is wrapped in a markdown code
block which prevents it from rendering; remove the surrounding triple-backtick
block (the ```md opener and closing ```) so the <Admonition
type="note">...</Admonition> JSX/MDX is raw content and will render correctly.
📜 Review details
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
apps/docs/content/guides/local-development/cli/getting-started.mdx
🧰 Additional context used
🧠 Learnings (5)
📓 Common learnings
Learnt from: CR
Repo: supabase/supabase PR: 0
File: .cursor/rules/docs-test-requirements.mdc:0-0
Timestamp: 2025-12-11T02:39:49.764Z
Learning: Applies to apps/docs/**/*.{test,spec}.ts : Before running tests in the docs application, check Supabase status using `pnpm supabase status`. If Supabase is not running, start it with `pnpm supabase start`. Reset the database with `pnpm supabase db reset --local` to ensure clean state. Run tests using `pnpm run -F docs test:local:unwatch` (without watch mode)
📚 Learning: 2025-12-11T17:04:40.037Z
Learnt from: CR
Repo: supabase/supabase PR: 0
File: .cursor/rules/studio-ui.mdc:0-0
Timestamp: 2025-12-11T17:04:40.037Z
Learning: Applies to apps/studio/**/*.{ts,tsx} : Place Admonition at the top of page contents (below page title) or at the top of the related ScaffoldSection below ScaffoldTitle
Applied to files:
apps/docs/content/guides/local-development/cli/getting-started.mdx
📚 Learning: 2025-12-11T17:04:40.037Z
Learnt from: CR
Repo: supabase/supabase PR: 0
File: .cursor/rules/studio-ui.mdc:0-0
Timestamp: 2025-12-11T17:04:40.037Z
Learning: Applies to apps/studio/components/**/*.{ts,tsx} : Use Admonition component to alert users of important actions or restrictions
Applied to files:
apps/docs/content/guides/local-development/cli/getting-started.mdx
📚 Learning: 2025-12-11T02:39:49.764Z
Learnt from: CR
Repo: supabase/supabase PR: 0
File: .cursor/rules/docs-test-requirements.mdc:0-0
Timestamp: 2025-12-11T02:39:49.764Z
Learning: Applies to apps/docs/**/*.{test,spec}.ts : Before running tests in the docs application, check Supabase status using `pnpm supabase status`. If Supabase is not running, start it with `pnpm supabase start`. Reset the database with `pnpm supabase db reset --local` to ensure clean state. Run tests using `pnpm run -F docs test:local:unwatch` (without watch mode)
Applied to files:
apps/docs/content/guides/local-development/cli/getting-started.mdx
📚 Learning: 2026-01-05T23:42:52.357Z
Learnt from: kallebysantos
Repo: supabase/supabase PR: 41727
File: apps/docs/content/guides/functions/auth.mdx:93-93
Timestamp: 2026-01-05T23:42:52.357Z
Learning: When reviewing MDX documentation that uses CodeSample components in Supabase docs, it's acceptable for CodeSample meta attributes to display generic example file names (e.g., hello/index.ts) to illustrate templating. Do not flag these as file-path mismatches unless the docs claim an exact reference to a real file. If you encounter such code samples, ensure the surrounding text clarifies that the names are placeholders to be adapted by users, and suggest adding a note explaining how to map the template to a real project path.
Applied to files:
apps/docs/content/guides/local-development/cli/getting-started.mdx
✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.
ChrisChinchilla
left a comment
There was a problem hiding this comment.
Thanks @omwanere
Summary
Clarifies that installing the Supabase CLI globally via npm is not supported.
Details
The CLI already throws a clear error when attempting a global npm install, but the documentation did not mention this.
This update adds a clear note to the Node.js installation section and points users to supported alternatives.
Related issue
Closes #4496
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.