HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

wget — In PowerShell, this command may be an alias of `Invoke-WebRequest` when the original `wget` program

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandthisclipowershellaliaswgetmay
windows

Problem

How to use the wget command: In PowerShell, this command may be an alias of Invoke-WebRequest when the original wget program (<https://www.gnu.org/software/wget>) is not properly installed. Note: If version command returns an error, PowerShell may have substituted this command with Invoke-WebRequest. More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest>.

Solution

wget — In PowerShell, this command may be an alias of Invoke-WebRequest when the original wget program (<https://www.gnu.org/software/wget>) is not properly installed. Note: If version command returns an error, PowerShell may have substituted this command with Invoke-WebRequest. More information: <https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest>.

View documentation for the original wget command:
tldr wget {{[-p|--platform]}} common


View documentation for PowerShell's Invoke-WebRequest command:
tldr invoke-webrequest


Display version:
wget --version

Code Snippets

View documentation for the original `wget` command

tldr wget {{[-p|--platform]}} common

View documentation for PowerShell's `Invoke-WebRequest` command

tldr invoke-webrequest

Display version

wget --version

Context

tldr-pages: windows/wget

Revisions (0)

No revisions yet.