# Run yarn command v2.0.0

**URL:** https://discuss.bitrise.io/t/run-yarn-command-v2-0-0/25779
**Category:** Changelog
**Tags:** step-update
**Created:** [February 20, 2026, 1:51pm UTC](https://discuss.bitrise.io/t/run-yarn-command-v2-0-0/25779 "2026-02-20T13:51:14Z")
**Posts on this page:** 2
**Page:** 1

<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: [February 20, 2026, 1:51pm UTC](https://discuss.bitrise.io/t/run-yarn-command-v2-0-0/25779/1 "2026-02-20T13:51:14Z")

</div>

## Breaking changes

The latest Yarn version will no longer be installed, instead it will be managed by Corepack.

Previously, the step always installed Yarn globally which can result in builds, that are not reproducible. This can cause issues, because the local setup and the CI environment would most likely differ and behave unexpectedly.

Instead, the step expects Yarn version to be provided by `packageManager` field in `package.json`, this way [Corepack](https://github.com/nodejs/corepack) can handle the version management.

The step will not break without version pinning, but it is recommended to use the new, modern method and [provide the required Yarn version](https://github.com/nodejs/corepack?tab=readme-ov-file#when-authoring-packages).

## What’s Changed

- Utilize corepack instead of yarn global install by @marcell-vida in [Utilize corepack instead of yarn global install by marcell-vida · Pull Request #31 · bitrise-steplib/steps-yarn · GitHub](https://github.com/bitrise-steplib/steps-yarn/pull/31)

## New Contributors

- @marcell-vida made their first contribution in [Utilize corepack instead of yarn global install by marcell-vida · Pull Request #31 · bitrise-steplib/steps-yarn · GitHub](https://github.com/bitrise-steplib/steps-yarn/pull/31)

**Full Changelog** : [Comparing 1.0.0...2.0.0 · bitrise-steplib/steps-yarn · GitHub](https://github.com/bitrise-steplib/steps-yarn/compare/1.0.0...2.0.0)

> **[Release 2.0.0 · bitrise-steplib/steps-yarn](https://github.com/bitrise-steplib/steps-yarn/releases/2.0.0)**
>
> Breaking changes
> The latest Yarn version will no longer be installed, instead it will be managed by Corepack.
> Previously, the step always installed Yarn globally which can result in builds, that ar...

---

<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: [May 21, 2026, 1:51pm UTC](https://discuss.bitrise.io/t/run-yarn-command-v2-0-0/25779/2 "2026-05-21T13:51:37Z")

</div>

This topic was automatically closed after 90 days. New replies are no longer allowed.
