Dhanurjan
Dhanurjan

Reputation: 101

PowerShell executable not found when i'm running flutter commands

when running flutter command I'm getting this error. Error: PowerShell executable not found. Either pwsh.exe or PowerShell.exe must be in your PATH.

I have tried installing Windows Management Framework 5.1 (https://www.microsoft.com/en-us/download/details.aspx?id=54616)

when installing Windows Management Framework 5.1 I'm getting this error. Error: The update is not applicable to your computer.

about my pc

any solution?

Upvotes: 2

Views: 3888

Answers (1)

Dhanurjan
Dhanurjan

Reputation: 101

I tried installing Windows Management Framework 5.1 but it didn't work. It gave me an error - "this update not applicable to your computer" then I installed the latest stable version from GitHub and the setup automatically created the PowerShell path and solved my problem.

https://github.com/PowerShell/PowerShell/releases/

OR install the powershell from the Microsoft store

Upvotes: 2

Related Questions