XQuartz is available for macOS at xquartz.org or via the Homebrew package manager.
If installing via the Homebrew package manager, run:
brew cask install xquartz
Once installed, XQuartz is then available in your Applications menu.