How to install Yarn package manager on Windows
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:
- Node.js: Yarn requires Node.js to be installed on your machine. You can download it from the official Node.js website (https://nodejs.org/en/download/).
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
My other articles:
- What are my earnings for the first week with the Medium Partner Program in 2024?
- How did I get my First Order In Upwork in 2024?
or
subscribe to my newsletter
** I recently created “Medium Stats” — FREE Chrome extension Medium Writers to explore their earnings easily.
If you enjoyed ❤️ it and want me to add more functionality, there is a small option to ☕ ☕☕buy coffee for me.