Skip to content

macOS with SFT: curl install can be much easier #668

@LukasFritzeDev

Description

@LukasFritzeDev

The installation read me file describes how to compile curl on your own. This is not necessary since brew brings a curl version that supports all the required protocols. It is already installed when using brew and only needs to be correctly added to $PATH:

> /opt/homebrew/opt/curl/bin/curl --version
curl 8.11.1 (aarch64-apple-darwin24.1.0) libcurl/8.11.1 OpenSSL/3.4.0 (SecureTransport) zlib/1.2.12 brotli/1.1.0 zstd/1.5.6 AppleIDN libssh2/1.11.1 nghttp2/1.64.0 librtmp/2.3
Release-Date: 2024-12-11
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd

To use this version of curl just do what brew info curl tells you to do: Add /opt/homebrew/opt/curl/bin to the $PATH variable. For example with:

echo 'export PATH="/opt/homebrew/opt/curl/bin:$PATH"' >> ~/.zshrc

Metadata

Metadata

Labels

documentationNeeds update or improvement on documentationenhancementNew feature or improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions