Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

How to build libcurl with nghttp2 for macos

erikhopf-amzn edited this page Aug 8, 2017 · 5 revisions

How to build libcurl with nghttp2 for macOS

Building for macOS requires some additional setup. Specifically, you need to ensure that you are running the latest version of cURL and that cURL is linked to nghttp2 (the default installation does not).

To recompile cURL, follow these instructions:

  1. Install Homebrew, if you haven't done so already.
  2. Install cURL with HTTP2 support: brew install curl --with-nghttp2
  3. Force cURL to explicitly link to the updated binary: brew link curl --force
  4. Close and reopen terminal.
  5. Confirm version and source with this command: brew info curl
Clone this wiki locally