xquartz --version or launching XQuartz from /Applications/Utilities/ . If you have Homebrew, you can also install with: brew install --cask xquartz