Files
tldr/pages.zh/windows/wget.md

17 lines
589 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# wget
> 在 PowerShell 中,当原始的 `wget` 程序(<https://www.gnu.org/software/wget>)没有正确安装时,此命令可能是 `Invoke-WebRequest` 的别名。
> 注意如果版本命令返回错误PowerShell 可能已将此命令替换为 `Invoke-WebRequest`。
> 更多信息:<https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest>。
- 查看原始 `wget` 命令的文档:
`tldr wget -p common`
- 查看 PowerShell 的 `Invoke-WebRequest` 命令的文档:
`tldr invoke-webrequest`
- 显示版本:
`wget --version`