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.