Skip to content

Feature Request (DX / CLI) - Add command to check or sync local Deno version with Edge Runtime compatibility #4738

@Romerolweb

Description

@Romerolweb

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions