gordon's note infotech Windows 找不到 pwsh.exe 的解決方式

Windows 找不到 pwsh.exe 的解決方式

Visual Studio 在 compile 時出現:
‘pwsh.exe’ 不是內部或外部命令、可執行的程式或批次檔。

解決方法:在 Microsoft Store 裡面安裝 PowerShell,點選這個連結即可安裝

Windows 10 可以使用下面這行指令透過 winget 安裝

winget install --id Microsoft.Powershell --source winget

 
#pwsh #PowerShell

Leave a Reply

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

Related Post