# How to reduce brew's packages installation time

**URL:** <https://discuss.bitrise.io/t/how-to-reduce-brews-packages-installation-time/12066>\
**Category:** Question & Answer\
**Tags:** step, ios\
**Created:** [February 26, 2020, 9:36am UTC](https://discuss.bitrise.io/t/how-to-reduce-brews-packages-installation-time/12066 "2020-02-26T09:36:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andr3a88](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@andr3a88](https://discuss.bitrise.io/u/andr3a88)\
**Post date:** [February 26, 2020, 9:36am UTC](https://discuss.bitrise.io/t/how-to-reduce-brews-packages-installation-time/12066/1 "2020-02-26T09:36:20Z")

</div>

I have a workflow with **swiftlint** and **danger-swift** from _brew_ and it takes very long to be installed. Both steps are configured with **Enable cache** to true and **Upgrade formula** to false.

How can i reduce the installation time?

Times below:

```
| ✓ | Brew install swiftlint | 1.8 min |
+---+---------------------------------------------------------------+----------+
| ✓ | Brew install danger-swift | 2.1 min |

```

Edit:

Adding **cache-push** at the end of the workflow and **cache-pull** at the start no improvement was noticed

---

<div class="post-metadata">

**Author:** ![bitce](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/bitce/32/1639_2.png) [@bitce](https://discuss.bitrise.io/u/bitce)\
**Post date:** [February 27, 2020, 9:03am UTC](https://discuss.bitrise.io/t/how-to-reduce-brews-packages-installation-time/12066/2 "2020-02-27T09:03:58Z")

</div>

Hi @andr3a88!

Can you please paste a build URL here so we can see what’s going on in these builds? 🙂

---

<div class="post-metadata">

**Author:** ![andr3a88](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@andr3a88](https://discuss.bitrise.io/u/andr3a88)\
**Post date:** [February 27, 2020, 9:27am UTC](https://discuss.bitrise.io/t/how-to-reduce-brews-packages-installation-time/12066/3 "2020-02-27T09:27:44Z")

</div>

Hi @bitce, the build is private if you have the privileges to see it, the id is `ae9d56e2b7348488`

---

<div class="post-metadata">

**Author:** ![bitce](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/bitce/32/1639_2.png) [@bitce](https://discuss.bitrise.io/u/bitce)\
**Post date:** [March 2, 2020, 10:11am UTC](https://discuss.bitrise.io/t/how-to-reduce-brews-packages-installation-time/12066/4 "2020-03-02T10:11:51Z")

</div>

Thanks! Yes, regardless of it being private, we on support can access the logs and some metadata about the build (when was it started, how, in what environment etc.) The team will be taking a look 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [April 1, 2020, 10:11am UTC](https://discuss.bitrise.io/t/how-to-reduce-brews-packages-installation-time/12066/5 "2020-04-01T10:11:54Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
