Category: Feature Request / Developer Experience (DX)
Description: Currently, when running supabase functions serve, the CLI outputs the compatible Deno version (e.g., compatible with Deno v2.1.4). However, there is no automated way to:
Check if the currently installed local deno binary matches this version.
Sync or "use" the required version (similar to how nvm or fnm works for Node).
This leads to "silent" bugs where the code runs fine in the Edge Runtime but shows linting/type errors in VS Code because the local Deno version is older or newer than what Supabase is using.
Suggested Solution: Add a flag or command like:
supabase functions check-env — To verify if the local Deno version matches the runtime.
supabase functions setup-deno — To provide a direct link or command to install the exactly matched version.
Context from Logs:
2026-01-20T05:24:22.733537382Z Using supabase-edge-runtime-1.70.0 (compatible with Deno v2.1.4)