Skip to content

fix: detect Supabase CLI invocation method - #584

Open
Nexlu1 wants to merge 1 commit into
supabase:mainfrom
Nexlu1:revenue/supabase-agent-skills-581
Open

Nexlu1 wants to merge 1 commit into
supabase:mainfrom
Nexlu1:revenue/supabase-agent-skills-581

Conversation

@Nexlu1

@Nexlu1 Nexlu1 commented Sep 18, 2026

Copy link
Copy Markdown

Summary

Make Supabase CLI guidance account for how the CLI is actually installed before presenting paste-ready commands.

  • detect whether the CLI is available globally or through a project package runner
  • use the package runner invocation when the CLI is project-installed
  • mention Windows executable forms such as npx.cmd when appropriate
  • pin the CLI version for production/mutable package-runner operations
  • validate the exact invocation with --help
  • prefer paste-safe single-line PowerShell when practical

Closes #581.

Verification

  • pnpm test — 7 passed, 0 failed
  • git diff --check

Tested with Node v22.23.2 and pnpm 10.33.0 on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

user-feedback: detect CLI installation before giving Windows commands

1 participant