Download XQuartz-2.7.11.dmg, and open it in OSX’s Installer.
OS X Requirements
OS X 10.6.3 or later is required to install this package.
Default X11 Server
If this is your first time installing XQuartz, you may wish to logout and log back in. This will update your DISPLAY environment variable to point to XQuartz.app rather than X11.app. If you would prefer to keep using X11.app as your default server (you can still launch XQuartz.app manually), you’ll want to disable /Library/LaunchAgents/org.macosforge.xquartz.startx.plist using launchctl(1).
Changes in 2.7.11
XQuartz (org.macosforge.xquartz.x11) is a Mac software application that has been discovered and submitted by users of Software.com. The latest version that our users have reported running on their systems is XQuartz 2.7.112. The most popular version of this application used by our users is XQuartz 2.7.101.
Operating System: Mac
Bundle Information: org.macosforge.xquartz.X11
Copyright: (c) 2003-2016 Apple Inc. (c) 2003 XFree86 Project, Inc. (c) 2003-2016 X.org Foundation, Inc.