fatal: Unable to find remote helper for 'https'

Khalezis picture Khalezis · Dec 3, 2017 · Viewed 10k times · Source

I tried to install brew on my mac (High Sierra) I always have this error:

fatal: Unable to find remote helper for 'https'

I tried to clone brew manually but it's the same.

Do you have any idea how to fix my problem?

Answer

Matthieu Moy picture Matthieu Moy · Dec 3, 2017

This happens when git doesn't find the git-remote-https executable in the executables directory (git --exec-path), which in turns happen when compiling git on a machine which doesn't have all the dependencies available. Most likely one of libcurl-gnutls or libgnutls is missing on your system.