The bash installer first looks at the releases then gets the most up to date version. The powershell installer is hard coded: https://github.com/extism/js-pdk/blob/05cecf212dd5be1db8a6633dceda4c070b8b92d1/install-windows.ps1#L3 The task of this issue would be to implement the same logic that the bash installer does in the ps script.
The bash installer first looks at the releases then gets the most up to date version. The powershell installer is hard coded:
js-pdk/install-windows.ps1
Line 3 in 05cecf2
The task of this issue would be to implement the same logic that the bash installer does in the ps script.