git-ftp / git-ftp/git-ftp

macOS with SFT: curl install can be much easier

Open
#668 1 comment 0 reactions 1 assignee View on GitHub

@LukasFritzeDev is already working on this.

Since Jan 6, 2025.

documentation enhancement
Dominant language
Shell
Stars
5.6k
Forks
694
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.