[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# Unable to locate executable file: 'vercel'

107 views · 0 likes · 5 posts


Atalay Visedigital (@atalay-visedigital) · 2024-08-25

When I try to deployment with azure devops pipeline it giving me to this error: 

Unable to locate executable file: 'vercel'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.

![image|690x143](upload://vSNDLpyOWMQbTkqeZKfjXAJEHi3.png)


Swarnava Sengupta (@swarnava) · 2024-08-25

Hi, Can you share your YML config file?


Atalay Visedigital (@atalay-visedigital) · 2024-08-25

Okey here it is: 

```yml
trigger:
- main

pool: Default

steps:
- task: vercel-deployment-task@1
  inputs:
    vercelProjectId: myProjectId
    vercelOrgId: myOrgId
    vercelToken: myToken
    production: true
```


Swarnava Sengupta (@swarnava) · 2024-08-26

You probably need to install Powershell Core on your machine that hosts Azure DevOps agent. This adds `pwsh` to the `PATH`, which will fix your build. [Powershell Core Installation guide for Linux](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.2).


Atalay Visedigital (@atalay-visedigital) · 2024-08-26

I'm hosting my agent on my local computer which is having windows operator system. So how can I do that?