mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 13:26:05 +02:00
16 lines
555 B
Markdown
16 lines
555 B
Markdown
![]() |
# 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.
|
||
|
|
||
|
- Check whether `wget` is properly installed by printing its version number. If this command evaluates into an error, PowerShell may have substituted this command with `Invoke-WebRequest`:
|
||
|
|
||
|
`curl --version`
|
||
|
|
||
|
- View documentation for the original `wget` command:
|
||
|
|
||
|
`tldr wget -p common`
|
||
|
|
||
|
- View documentation for PowerShell's `Invoke-WebRequest` command:
|
||
|
|
||
|
`tldr invoke-webrequest`
|