Use "irm" instead of "iwr -useb" in PowerShell.
Mukul1127 opened this issue · comments
Mukul Kedia commented
In PowerShell, you can do:
irm https://create.tauri.app/ps | iex
instead of:
iwr -useb https://create.tauri.app/ps | iex
Amr Bashir commented
irm
or iwr
, both works similarly but with any of them, we still have to use -useb
because some older versions of PowerShell couldn't parse the script correctly.
Is there something am I missing here?
Mukul Kedia commented
Is this really an issue though, all modern versions of windows come with PowerShell 5.1 which works fine.
Mukul Kedia commented
PowerShell 4 also seems to work from this post at least: Update Powershell through command line
Amr Bashir commented
cool, would you like to open a PR @Mukul1127 ?
Mukul Kedia commented
Created a pull request.