brew install openresty/brew/openresty --verbose
==> Installing openresty from openresty/brew
==> Downloading https://raw.githubusercontent.com/openresty/openresty/master/patches/openssl-1.1.1f-sess_set_get_cb_yield.patch
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/2.7.3\ (Macintosh\;\ Intel\ Mac\ OS\ X\ 11.1)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://raw.githubusercontent.com/openresty/openresty/master/patches/openssl-1.1.1f-sess_set_get_cb_yield.patch
Already downloaded: /Users/ning/Library/Caches/Homebrew/downloads/57153ba4d1c3b1ddddf8b3fbfaa4338c7a0f2f3e5d09af19f02613e478b375e5--openssl-1.1.1f-sess_set_get_cb_yield.patch
==> Verifying checksum for '57153ba4d1c3b1ddddf8b3fbfaa4338c7a0f2f3e5d09af19f02613e478b375e5--openssl-1.1.1f-sess_set_get_cb_yield.patch'.
==> Downloading https://www.openssl.org/source/openssl-1.1.1i.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/2.7.3\ (Macintosh\;\ Intel\ Mac\ OS\ X\ 11.1)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://www.openssl.org/source/openssl-1.1.1i.tar.gz
Already downloaded: /Users/ning/Library/Caches/Homebrew/downloads/fd23ba7b701c9f6232538758ea8cc3025119733e0e3e6f6af55517e8bdc49b0e--openssl-1.1.1i.tar.gz
==> Verifying checksum for 'fd23ba7b701c9f6232538758ea8cc3025119733e0e3e6f6af55517e8bdc49b0e--openssl-1.1.1i.tar.gz'.
==> Downloading https://openresty.org/download/openresty-1.19.3.1.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/2.7.3\ (Macintosh\;\ Intel\ Mac\ OS\ X\ 11.1)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://openresty.org/download/openresty-1.19.3.1.tar.gz
Already downloaded: /Users/ning/Library/Caches/Homebrew/downloads/11b76a3fbb3e39bb82597a5b2a52fad853232e3340d922b8282ebd917f776b3c--openresty-1.19.3.1.tar.gz
==> Verifying checksum for '11b76a3fbb3e39bb82597a5b2a52fad853232e3340d922b8282ebd917f776b3c--openresty-1.19.3.1.tar.gz'.
Error: Your Command Line Tools are too outdated.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you an update run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/more/.
Error: Your CLT does not support macOS 11.
It is either outdated or was modified.
Please update your CLT or delete it if no updates are available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you an update run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/more/.