Forrest logo
back to the curl tool

curl:tldr:5ed9f

curl: Check whether `curl` 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
try on your machine

The command "curl --version" is used to check the version information of the curl command-line tool installed on a system.

When you run this command in a terminal or command prompt, it will display the version number, as well as some other details related to the curl installation.

Here's an example output:

curl 7.68.0 (x86_64-apple-darwin19.6.0) libcurl/7.68.0 OpenSSL/1.1.1i zlib/1.2.11 Release-Date: 2020-01-08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz MQ NTLM NTLM_WB SPNEGO SSL TLS-SRP UnixSockets

The output provides information such as the version number (7.68.0), the architecture (x86_64), the operating system (Apple Darwin 19.6.0), and the underlying libraries used by curl (libcurl, OpenSSL, zlib). It also lists the supported protocols and features.

By running this command, you can quickly determine the version and capabilities of the curl command-line tool installed on your system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the curl tool