Skip to Content

Install cURL

test
0 %
Install cURL
Details
// Explore More Tutorials

Install cURL

08/22/2018

Install cURL to send data to the SAP Cloud Platform Internet of Things Service Cloud using REST.

You will learn

  • How to install cURL on Windows or macOS


Step 1: Install cURL on Windows 10
  1. Download cURL (Windows).

    Note:
    Please use the recommended version curl-7.58.0.

  2. Extract the downloaded ZIP archive.

  3. For ease of use we recommend that you add the directories from the cURL binaries to your PATH environment variable. For example, you could enter the following in your terminal (only valid for one session):

    set PATH=%PATH%;c:\<PATH_TO_CURL.EXE>
    
    set PATH=%PATH%;c:\Users\me\Downloads\curl\bin\
    
  4. Check the version of cURL. It must be enabled with OpenSSL. Enter the following command in the terminal:

    curl --version
    

    The version should include OpenSSL, for example:

    curl 7.58.0 (x86_64-pc-win32) libcurl/7.58.0 OpenSSL/1.1.0g (WinSSL) zlib/1.2.11 brotli/1.0.3 WinIDN libssh2/1.8.0 nghttp2/1.31.0
    Release-Date: 2018-01-24
    Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
    Features: AsynchDNS IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz brotli TLS-SRP HTTP2 HTTPS-proxy MultiSSL
    
What kind of archive should be downloaded?
×
Step 2: Install cURL on macOS
  1. cURL is usually installed by default on macOS (/user/bin/curl).

  2. Check the version of cURL. Enter the following command in the terminal:

    curl --version
    

    Version with SecureTransport, for example:

    curl 7.43.0 (x86_64-apple-darwin15.0) libcurl/7.43.0 SecureTransport zlib/1.2.5
    Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
    Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSocket
    

    Version without SecureTransport using LibreSSL, for example:

    curl 7.54.0 (x86_64-apple-darwin17.0) libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0
    Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
    Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz HTTP2 UnixSockets HTTPS-proxyt
    

Next Steps

Back to top