# Yarn install - very long installation times

**URL:** <https://discuss.circleci.com/t/yarn-install-very-long-installation-times/7616>\
**Category:** Build Environment\
**Tags:** circle-yml\
**Created:** [October 24, 2016, 3:23pm UTC](https://discuss.circleci.com/t/yarn-install-very-long-installation-times/7616 "2016-10-24T15:23:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ReverateNM](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@ReverateNM](https://discuss.circleci.com/u/ReverateNM)\
**Post date:** [October 24, 2016, 3:23pm UTC](https://discuss.circleci.com/t/yarn-install-very-long-installation-times/7616/1 "2016-10-24T15:23:34Z")

</div>

Hi,

We’ve been looking at using Yarn instead of npm for our project because of it’s speed improvements. When running `yarn install` locally, it is faster at installing dependencies. Circle CI has been set up to use yarn as well, but we are seeing significant slowdowns in build time and large increase in console output whilst installing the dependencies.

Circle CI seems to run a console log for each update of the progress bar. I’m not sure if this is causing the slowdown but it’s something that would be good to get sorted either way.

I looked at [this](https://medium.com/@ekryski/using-yarn-with-circleci-and-heroku-31d0d247bd59#.o0zgnod9k) tutorial, and our package.json now looks like this:

```auto
dependencies:
  pre:
    - curl -o- -L https://yarnpkg.com/install.sh | bash
  cache_directories:
    - ~/.yarn-cache
  override:
    - yarn install

machine:
  pre:
    - mkdir ~/.yarn-cache
  node:
    version: 6.2.2

test:
  pre:
    - ./node_modules/.bin/eslint ' **/*.js' '** /*.jsx'
  override:
    - yarn test

```

Here is a screenshot of the console output for yarn install:

 ![](https://global.discourse-cdn.com/circleci/original/3X/6/2/6285487b245926d2b2cc37bb168f8d7dbb043ef2.png)

Any help you can provide is much appreciated!

Thanks

Nick

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:38am UTC](https://discuss.circleci.com/t/yarn-install-very-long-installation-times/7616/2 "2018-06-18T11:38:49Z")

</div>


