add new chinese translations
This commit is contained in:
16
pages.zh/windows/curl.md
Normal file
16
pages.zh/windows/curl.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# curl
|
||||
|
||||
> 在 PowerShell 中,当原始的 `curl` 程序 (<https://curl.se>) 未正确安装时,此命令可能是 `Invoke-WebRequest` 的别名。
|
||||
> 更多信息:<https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest>。
|
||||
|
||||
- 查看原始 `curl` 命令的文档:
|
||||
|
||||
`tldr curl -p common`
|
||||
|
||||
- 查看 PowerShell 的 `Invoke-WebRequest` 命令的文档:
|
||||
|
||||
`tldr invoke-webrequest`
|
||||
|
||||
- 通过打印其版本号来检查 `curl` 是否已正确安装。如果此命令返回错误,PowerShell 可能已用 `Invoke-WebRequest` 替换此命令:
|
||||
|
||||
`curl --version`
|
Reference in New Issue
Block a user