dsh-win-pwsh7: Enabling the DSH `pwsh` tool to run real PowerShell 7 on Windows
When using DSH on Windows, the `pwsh` tool may fall back to PowerShell 5.1, causing `&&` and `||` parse failures. The community plugin `dsh-win-pwsh7` (by xinspark), written in pure JavaScript with zero dependencies, provides `pwsh7_status` and `pwsh7_install`: it detects and validates paths, installs self-updating packages exclusively from the Microsoft Store, checks for metered connections before installation, and delivers copy-paste-ready cordis patches along with model prompt snippets. This article covers the installation command, the `overridePath`/`installIfMissing` configuration options, how to monitor background job progress, and notes on applicability and caveats.
Read More