194fae24a3c4b438c83e5dee4f759e8b47145821
[webi-installers/.git] / pwsh / install.sh
1 # title: PowerShell (pwsh alias)
2 # homepage: https://webinstall.dev/powershell
3 # tagline: Alias for https://webinstall.dev/powershell
4 # alias: powershell
5 # description: |
6 #   See https://webinstall.dev/powershell
7
8 echo "'pwsh@${WEBI_TAG:-stable}' is an alias for 'powershell@${WEBI_VERSION:-}'"
9 WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"}
10 curl -fsSL "$WEBI_HOST/powershell@${WEBI_VERSION:-}" | bash