# Install XQuartz for X11 on macOS

**URL:** <https://discuss.circleci.com/t/install-xquartz-for-x11-on-macos/28431>\
**Category:** Build Environment\
**Tags:** circle-yml, macos\
**Created:** [February 16, 2019, 5:07pm UTC](https://discuss.circleci.com/t/install-xquartz-for-x11-on-macos/28431 "2019-02-16T17:07:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjackman](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/sjackman/32/2326_2.png) [@sjackman](https://discuss.circleci.com/u/sjackman)\
**Post date:** [February 16, 2019, 5:07pm UTC](https://discuss.circleci.com/t/install-xquartz-for-x11-on-macos/28431/1 "2019-02-16T17:07:24Z")

</div>

Is it possible to install XQuartz on macOS using .circle/config.yml?

---

<div class="post-metadata">

**Author:** ![halfer](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/halfer/32/9083_2.png) [@halfer](https://discuss.circleci.com/u/halfer)\
**Post date:** [February 16, 2019, 9:02pm UTC](https://discuss.circleci.com/t/install-xquartz-for-x11-on-macos/28431/2 "2019-02-16T21:02:22Z")

</div>

I expect so. I’ve not used the Mac build servers at CircleCI, but I assume commands are run in the Bash environment. From there, I expect you have access to MacPorts and Home Brew. Can the piece of software you mention be found in either of those? If not, how does it get installed on a local machine?
