When trying to update Powershell Core with scoop via scoop update pwsh
, I get the following error:
ERROR Application "pwsh" is still running. Close all instances and try again.
I tried closing PowerShell and updating via cmd
, but it still throws that error.
Asked
Active
Viewed 1,396 times
4

Tuor
- 875
- 1
- 8
- 32
1 Answers
15
Scoop uses pwsh.exe
to execute the PowerShell scripts that scoop runs on. (scoop is 96% PowerShell) Even if run in cmd.exe
, it will still use pwsh.exe
to execute the scripts needed to scoop update pwsh
. This problem is solved by using Windows PowerShell, (a.k.a. PowerShell 5 / powershell.exe
) so scoop will execute the PowerShell scripts using that instead of pwsh
.

Tuor
- 875
- 1
- 8
- 32