# Mac OS executor image?

**URL:** <https://discuss.circleci.com/t/mac-os-executor-image/30969>\
**Category:** Build Environment\
**Tags:** macos\
**Created:** [June 20, 2019, 11:05pm UTC](https://discuss.circleci.com/t/mac-os-executor-image/30969 "2019-06-20T23:05:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chronal-xnor](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/chronal-xnor/32/22591_2.png) [@chronal-xnor](https://discuss.circleci.com/u/chronal-xnor)\
**Post date:** [June 20, 2019, 11:05pm UTC](https://discuss.circleci.com/t/mac-os-executor-image/30969/1 "2019-06-20T23:05:02Z")

</div>

Hi, I’m putting together a Mac CircleCI config for my codebase and I need a few dependencies (e.g. pyenv to install a particular Python version). It’s easy enough to add a `run` step to the CircleCI config that `brew install`s the packages I need, but it seems wasteful and costs 2-5 minutes every CircleCI build. For Linux builds, we can define our own Docker images which have dependencies preinstalled; is there something similar for Mac executors? Or are there other options for predefining an environment for builds, so that I don’t have to sit through this repetitive environment setup every time? Thanks.

---

<div class="post-metadata">

**Author:** ![FelicianoTech](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/felicianotech/32/21348_2.png) [@FelicianoTech](https://discuss.circleci.com/u/FelicianoTech)\
**Post date:** [June 21, 2019, 5:23am UTC](https://discuss.circleci.com/t/mac-os-executor-image/30969/2 "2019-06-21T05:23:57Z")

</div>

To your first question, no.

What may work is to cache the dependencies you need and then loading that cache during a build. I’d test that and compare the time it takes to load the cache vs the time a fresh install will take and see which works best for you.

---

<div class="post-metadata">

**Author:** ![chronal-xnor](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/chronal-xnor/32/22591_2.png) [@chronal-xnor](https://discuss.circleci.com/u/chronal-xnor)\
**Post date:** [June 21, 2019, 5:20pm UTC](https://discuss.circleci.com/t/mac-os-executor-image/30969/3 "2019-06-21T17:20:30Z")

</div>

Okay, I will look into that. Thanks
