xref: /aosp_15_r20/external/curl/docs/cmdline-opts/version.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: version
5*6236dae4SAndroid Build Coastguard WorkerShort: V
6*6236dae4SAndroid Build Coastguard WorkerHelp: Show version number and quit
7*6236dae4SAndroid Build Coastguard WorkerCategory: important curl
8*6236dae4SAndroid Build Coastguard WorkerAdded: 4.0
9*6236dae4SAndroid Build Coastguard WorkerMulti: custom
10*6236dae4SAndroid Build Coastguard WorkerSee-also:
11*6236dae4SAndroid Build Coastguard Worker  - help
12*6236dae4SAndroid Build Coastguard Worker  - manual
13*6236dae4SAndroid Build Coastguard WorkerExample:
14*6236dae4SAndroid Build Coastguard Worker  - --version
15*6236dae4SAndroid Build Coastguard Worker---
16*6236dae4SAndroid Build Coastguard Worker
17*6236dae4SAndroid Build Coastguard Worker# `--version`
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard WorkerDisplays information about curl and the libcurl version it uses.
20*6236dae4SAndroid Build Coastguard Worker
21*6236dae4SAndroid Build Coastguard WorkerThe first line includes the full version of curl, libcurl and other 3rd party
22*6236dae4SAndroid Build Coastguard Workerlibraries linked with the executable.
23*6236dae4SAndroid Build Coastguard Worker
24*6236dae4SAndroid Build Coastguard WorkerThe second line (starts with `Release-Date:`) shows the release date.
25*6236dae4SAndroid Build Coastguard Worker
26*6236dae4SAndroid Build Coastguard WorkerThe third line (starts with `Protocols:`) shows all protocols that libcurl
27*6236dae4SAndroid Build Coastguard Workerreports to support.
28*6236dae4SAndroid Build Coastguard Worker
29*6236dae4SAndroid Build Coastguard WorkerThe fourth line (starts with `Features:`) shows specific features libcurl
30*6236dae4SAndroid Build Coastguard Workerreports to offer. Available features include:
31*6236dae4SAndroid Build Coastguard Worker
32*6236dae4SAndroid Build Coastguard Worker## `alt-svc`
33*6236dae4SAndroid Build Coastguard WorkerSupport for the Alt-Svc: header is provided.
34*6236dae4SAndroid Build Coastguard Worker
35*6236dae4SAndroid Build Coastguard Worker## `AsynchDNS`
36*6236dae4SAndroid Build Coastguard WorkerThis curl uses asynchronous name resolves. Asynchronous name resolves can be
37*6236dae4SAndroid Build Coastguard Workerdone using either the c-ares or the threaded resolver backends.
38*6236dae4SAndroid Build Coastguard Worker
39*6236dae4SAndroid Build Coastguard Worker## `brotli`
40*6236dae4SAndroid Build Coastguard WorkerSupport for automatic brotli compression over HTTP(S).
41*6236dae4SAndroid Build Coastguard Worker
42*6236dae4SAndroid Build Coastguard Worker## `CharConv`
43*6236dae4SAndroid Build Coastguard Workercurl was built with support for character set conversions (like EBCDIC)
44*6236dae4SAndroid Build Coastguard Worker
45*6236dae4SAndroid Build Coastguard Worker## `Debug`
46*6236dae4SAndroid Build Coastguard WorkerThis curl uses a libcurl built with Debug. This enables more error-tracking
47*6236dae4SAndroid Build Coastguard Workerand memory debugging etc. For curl-developers only.
48*6236dae4SAndroid Build Coastguard Worker
49*6236dae4SAndroid Build Coastguard Worker## `ECH`
50*6236dae4SAndroid Build Coastguard WorkerECH support is present.
51*6236dae4SAndroid Build Coastguard Worker
52*6236dae4SAndroid Build Coastguard Worker## `gsasl`
53*6236dae4SAndroid Build Coastguard WorkerThe built-in SASL authentication includes extensions to support SCRAM because
54*6236dae4SAndroid Build Coastguard Workerlibcurl was built with libgsasl.
55*6236dae4SAndroid Build Coastguard Worker
56*6236dae4SAndroid Build Coastguard Worker## `GSS-API`
57*6236dae4SAndroid Build Coastguard WorkerGSS-API is supported.
58*6236dae4SAndroid Build Coastguard Worker
59*6236dae4SAndroid Build Coastguard Worker## `HSTS`
60*6236dae4SAndroid Build Coastguard WorkerHSTS support is present.
61*6236dae4SAndroid Build Coastguard Worker
62*6236dae4SAndroid Build Coastguard Worker## `HTTP2`
63*6236dae4SAndroid Build Coastguard WorkerHTTP/2 support has been built-in.
64*6236dae4SAndroid Build Coastguard Worker
65*6236dae4SAndroid Build Coastguard Worker## `HTTP3`
66*6236dae4SAndroid Build Coastguard WorkerHTTP/3 support has been built-in.
67*6236dae4SAndroid Build Coastguard Worker
68*6236dae4SAndroid Build Coastguard Worker## `HTTPS-proxy`
69*6236dae4SAndroid Build Coastguard WorkerThis curl is built to support HTTPS proxy.
70*6236dae4SAndroid Build Coastguard Worker
71*6236dae4SAndroid Build Coastguard Worker## `IDN`
72*6236dae4SAndroid Build Coastguard WorkerThis curl supports IDN - international domain names.
73*6236dae4SAndroid Build Coastguard Worker
74*6236dae4SAndroid Build Coastguard Worker## `IPv6`
75*6236dae4SAndroid Build Coastguard WorkerYou can use IPv6 with this.
76*6236dae4SAndroid Build Coastguard Worker
77*6236dae4SAndroid Build Coastguard Worker## `Kerberos`
78*6236dae4SAndroid Build Coastguard WorkerKerberos V5 authentication is supported.
79*6236dae4SAndroid Build Coastguard Worker
80*6236dae4SAndroid Build Coastguard Worker## `Largefile`
81*6236dae4SAndroid Build Coastguard WorkerThis curl supports transfers of large files, files larger than 2GB.
82*6236dae4SAndroid Build Coastguard Worker
83*6236dae4SAndroid Build Coastguard Worker## `libz`
84*6236dae4SAndroid Build Coastguard WorkerAutomatic decompression (via gzip, deflate) of compressed files over HTTP is
85*6236dae4SAndroid Build Coastguard Workersupported.
86*6236dae4SAndroid Build Coastguard Worker
87*6236dae4SAndroid Build Coastguard Worker## `MultiSSL`
88*6236dae4SAndroid Build Coastguard WorkerThis curl supports multiple TLS backends.
89*6236dae4SAndroid Build Coastguard Worker
90*6236dae4SAndroid Build Coastguard Worker## `NTLM`
91*6236dae4SAndroid Build Coastguard WorkerNTLM authentication is supported.
92*6236dae4SAndroid Build Coastguard Worker
93*6236dae4SAndroid Build Coastguard Worker## `NTLM_WB`
94*6236dae4SAndroid Build Coastguard WorkerNTLM delegation to winbind helper is supported.
95*6236dae4SAndroid Build Coastguard WorkerThis feature was removed from curl in 8.8.0.
96*6236dae4SAndroid Build Coastguard Worker
97*6236dae4SAndroid Build Coastguard Worker## `PSL`
98*6236dae4SAndroid Build Coastguard WorkerPSL is short for Public Suffix List and means that this curl has been built
99*6236dae4SAndroid Build Coastguard Workerwith knowledge about "public suffixes".
100*6236dae4SAndroid Build Coastguard Worker
101*6236dae4SAndroid Build Coastguard Worker## `SPNEGO`
102*6236dae4SAndroid Build Coastguard WorkerSPNEGO authentication is supported.
103*6236dae4SAndroid Build Coastguard Worker
104*6236dae4SAndroid Build Coastguard Worker## `SSL`
105*6236dae4SAndroid Build Coastguard WorkerSSL versions of various protocols are supported, such as HTTPS, FTPS, POP3S
106*6236dae4SAndroid Build Coastguard Workerand so on.
107*6236dae4SAndroid Build Coastguard Worker
108*6236dae4SAndroid Build Coastguard Worker## `SSPI`
109*6236dae4SAndroid Build Coastguard WorkerSSPI is supported.
110*6236dae4SAndroid Build Coastguard Worker
111*6236dae4SAndroid Build Coastguard Worker## `TLS-SRP`
112*6236dae4SAndroid Build Coastguard WorkerSRP (Secure Remote Password) authentication is supported for TLS.
113*6236dae4SAndroid Build Coastguard Worker
114*6236dae4SAndroid Build Coastguard Worker## `TrackMemory`
115*6236dae4SAndroid Build Coastguard WorkerDebug memory tracking is supported.
116*6236dae4SAndroid Build Coastguard Worker
117*6236dae4SAndroid Build Coastguard Worker## `Unicode`
118*6236dae4SAndroid Build Coastguard WorkerUnicode support on Windows.
119*6236dae4SAndroid Build Coastguard Worker
120*6236dae4SAndroid Build Coastguard Worker## `UnixSockets`
121*6236dae4SAndroid Build Coastguard WorkerUnix sockets support is provided.
122*6236dae4SAndroid Build Coastguard Worker
123*6236dae4SAndroid Build Coastguard Worker## `zstd`
124*6236dae4SAndroid Build Coastguard WorkerAutomatic decompression (via zstd) of compressed files over HTTP is supported.
125