

OpenResty 下载页面(https://openresty.org/cn/download.html)提供 OpenResty® 的各类发行版本获取方式,包括官方预编译二进制包、容器镜像、macOS 包管理器安装以及源码发布,方便不同平台与需求的用户安装和使用 OpenResty。
brew tap openresty/brew
brew install openresty
homebrew/nginx 安装过,需先执行 brew untap homebrew/nginx。硬核开发者可安装 openresty-debug 包。配置文件位于 $HOMEBREW_PREFIX/etc/openresty/ 目录下(默认值 /usr/local)。A0E98066 签发。openresty-1.31.1.1.tar.gz,以及从 openresty-1.29.2.5 到早期 ngx_openresty 系列的历史版本),每个版本均附带 PGP 签名与变更列表。openresty-debug 包。安装帮助请参考官方安装指导页面。