Using Homebrew on OS X, this can be done with
brew install nginx-full
This may require you to install the homebrew-nginx faucet first, in which case you may need to run
brew install homebrew/nginx/nginx-full
to make sure the crane will be installed first.
source share