CocoaEngineering
FORMULAv6.2.2

passenger for macOS

Server for Ruby, Python, and Node.js apps via Apache/NGINX

Installation on macOS (Apple Silicon & Intel)

brew install passenger

Package Metadata

Identifierpassenger
Current Version6.2.2
Tap Repositoryhomebrew/core
LicenseMIT
Upstream Homepagehttps://www.phusionpassenger.com/
Last Verified2026-11-26T14:43:31Z

Runtime Dependencies (4)

apr apr-util openssl@4 pcre2

Build Dependencies (2)

httpd nginx

Engineering Caveats

To activate Phusion Passenger for Nginx, run:
  brew install nginx
And add the following to $HOMEBREW_PREFIX/etc/nginx/nginx.conf at the top scope (outside http{}):
  load_module $HOMEBREW_PREFIX/opt/passenger/libexec/modules/ngx_http_passenger_module.so;
And add the following to $HOMEBREW_PREFIX/etc/nginx/nginx.conf in the http scope:
  passenger_root $HOMEBREW_PREFIX/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini;
  passenger_ruby /usr/bin/ruby;

To activate Phusion Passenger for Apache, create /etc/apache2/other/passenger.conf:
  LoadModule passenger_module $HOMEBREW_PREFIX/opt/passenger/libexec/buildout/apache2/mod_passenger.so
  PassengerRoot $HOMEBREW_PREFIX/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini
  PassengerDefaultRuby /usr/bin/ruby
Browse macOS Packages A–Z