Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Powershell problem when changing channel from Stable to Master in Flutter SDK

Tags:

sdk

flutter

After changing the Flutter SDK channel from Stable to Master I now get this error when running Flutter commands:

Error: PowerShell executable not found.
       Either pwsh.exe or PowerShell.exe must be in your PATH.
like image 245
AliAzad Avatar asked Dec 13 '22 08:12

AliAzad


1 Answers

Add powershell.exe to your path in environment variables. You can find it under:

C:\Windows\System32\WindowsPowerShell\v1.0

like image 109
pallav bohara Avatar answered May 28 '23 08:05

pallav bohara