How to install Yarn package manager on Windows

Maksym Rudnyi
2 min readMar 25, 2023

--

Yarn is a package manager that helps in the installation, updating, and managing dependencies of JavaScript projects. In this article, I will provide you with a step-by-step guide on how to install Yarn on Windows.

Prerequisites

Before installing Yarn, you need to make sure that the following prerequisites are installed on your Windows machine:

Step 1: Download Yarn

The first step is to download the Yarn installer for Windows. You can download the latest version of Yarn from the official Yarn website (https://yarnpkg.com/latest.msi).

Step 2: Install Yarn

Once you have downloaded the Yarn installer, double-click on the downloaded file to start the installation process. Follow the prompts in the installer to complete the installation.

During the installation process, you will be asked to select the components you want to install. You can choose to install the Yarn CLI, the Yarn editor plugins, and the Yarn global packages.

Step 3: Verify the Installation

To verify that Yarn has been installed correctly, open a command prompt and type the following command:

yarn --version

If Yarn has been installed correctly, you should see the version number of Yarn printed in the console. The current version is 1.22.19.

Conclusion

And that’s it. Ease installation, powerful tool.

Video Tutorial on How to install Yarn on Windows 10

--

--