X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=pwsh%2Finstall.sh;fp=pwsh%2Finstall.sh;h=194fae24a3c4b438c83e5dee4f759e8b47145821;hb=65ebe70d56028eb2f6c7017a72bb8384eda28523;hp=0000000000000000000000000000000000000000;hpb=22b404dd2432c906b5cb2b1baf4a12a934abd18b;p=webi-installers%2F.git diff --git a/pwsh/install.sh b/pwsh/install.sh new file mode 100644 index 0000000..194fae2 --- /dev/null +++ b/pwsh/install.sh @@ -0,0 +1,10 @@ +# title: PowerShell (pwsh alias) +# homepage: https://webinstall.dev/powershell +# tagline: Alias for https://webinstall.dev/powershell +# alias: powershell +# description: | +# See https://webinstall.dev/powershell + +echo "'pwsh@${WEBI_TAG:-stable}' is an alias for 'powershell@${WEBI_VERSION:-}'" +WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"} +curl -fsSL "$WEBI_HOST/powershell@${WEBI_VERSION:-}" | bash