Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use irm instead of iwr -useb #213

Closed
MarkTiedemann opened this issue Jun 20, 2022 · 3 comments · Fixed by #217
Closed

Use irm instead of iwr -useb #213

MarkTiedemann opened this issue Jun 20, 2022 · 3 comments · Fixed by #217
Labels
enhancement New feature or request windows Related to installing on windows

Comments

@MarkTiedemann
Copy link
Contributor

MarkTiedemann commented Jun 20, 2022

irm is the alias for Invoke-RestMethod, which is available since PowerShell 3.

So iwr https://deno.land/install.ps1 -useb | iex could be shortened to irm https://deno.land/install.ps1 | iex.

@lucacasonato
Copy link
Member

@piscisaureus @dsherret Thoughts?

@MarkTiedemann
Copy link
Contributor Author

https://scoop.sh/ does this, too.

@dsherret
Copy link
Member

Seems better. Powershell 3 was released 10 years ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request windows Related to installing on windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants