Yarn
Yarn Berry (v2–v4) — Installation on Windows ARM64
First install Node.js.
Node.Js
-------
Install the Window ARM64 version of Node.js from below path
https://nodejs.org/en/download
After installation make sure it is installed for ARM64 with the following command.
>node -p process.arch
arm64
Now procced to Yarn berry installation as follows.
1.Enable Corepack with following command:
corepack enable
2.Install and activate the latest stable Yarn (Berry):
corepack prepare yarn@stable --activate
3.Check the installation:
yarn -v
You shall see version 4.
Notes:
Corepack comes bundled with modern Node.js releases, including the Windows ARM64 build.
When you run corepack prepare yarn@stable --activate, it downloads the official Yarn release tarball from npm and links it for immediate use.
Yarn is written in JavaScript and TypeScript — it runs inside Node.js.Therefore, no separate ARM64 binary build is required: it automatically runs natively under the Windows ARM64 version of Node.js.
This means you are effectively running a native Yarn Berry installation on Windows ARM64
Yarn Berry (v2–v4) — Building from Source for development Build on Windows ARM64
Cone the source as follows:
git clone https://github.com/yarnpkg/berry.git
Yarn needs a working yarn to build from source. So install the working Yarn.
1.Enable Corepack with following command:
corepack enable
2.Install and activate the latest stable Yarn (Berry):
corepack prepare yarn@stable --activate
3.Check the installation:
yarn -v
You shall see version 4.
4.Install dependencies:
yarn install
This will fetch all packages Yarn itself depends on.
On Windows ARM64, it runs natively inside Node.js — no special ARM build is needed.
5.Build the CLI:
yarn build:cli
This compiles TypeScript code and generates the executable scripts in packages\yarnpkg-cli\bin.
You only need this step if you modified Yarn’s source.
6.Test your build:
node packages\yarnpkg-cli\bin\yarn.js --version
Yarn (legacy) v1 installation on Windows ARM64:
Yarn v1 is almost obsolete with only legacy projects using it. There is no Windows ARM MSI available, but x86 will work with Windows emulation.
Node.Js
-------
Install the Window ARM64 version of Node.js from below path
https://nodejs.org/en/download
After installation make sure it is installed for ARM64 with the following command.
>node -p process.arch
arm64
Install Yarn v1 MSI:
Download the latest Yarn v1 MSI from the releases page
https://github.com/yarnpkg/yarn/releases/tag/v1.22.22
Note: This MSI is x86/x64 but will run under Node.js ARM64 using the Node.js runtime.
Run the MSI installer
Verify Yarn:
yarn -v
You should see 1.22.22 (or whichever version you installed).