Azure Functions Core Tools not found but installed

realdanielbyrne 0 Reputation points
2025-06-11T18:49:20.7766667+00:00

In visual studio code, Im trying to debug an Azure Functions app, but Im getting an error, "You must have the azure functions core tools installed to debug your local functions." However Azure functions core tools are installed. How can I resolve this error?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sampath 3,750 Reputation points Microsoft External Staff Moderator
    2025-06-18T09:32:46.23+00:00

    Hello @realdanielbyrne ,
    Install the Azure Functions Core Tools Using below link.

    Run this in your terminal:

    
    func --version
    
    

    If it returns a version number, Core Tools are installed and accessible. If not, the issue is likely with your system’s PATH.

    Make sure the directory where func is installed is included in your system’s PATH. For example, if installed via npm:

    
    npm install -g azure-functions-core-tools@4 --unsafe-perm true
    
    

    Then func should be in something like:

    • Windows: C:\Users\<YourUser>\AppData\Roaming\npm
    • macOS/Linux: /usr/local/bin or wherever your global npm packages go

    Add that directory to your PATH if it’s missing.

    Ensure the version of Core Tools matches your function runtime. For example:

    • Azure Functions v4 → Core Tools v4
    • Azure Functions v3 → Core Tools v3

    You can install a specific version like this:

    
    npm install -g azure-functions-core-tools@4 --unsafe-perm true
    
    

    If npm is giving you trouble, try:

    
    choco install azure-functions-core-tools --version=4.0.4915 --params="'/x64:true'"
    
    

    This often resolves path and permission issues.

    After installation or path changes, restart VS Code completely to ensure it picks up the new environment variables.

    Hope it helps!


    Please do not forget to click "Accept the answer” wherever the information provided helps you, this can be beneficial to other community members.

    If you have any other questions or still running into more issues, let me know in the "comments" and I would be happy to help you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.