Skip to content

Commit 9514401

Browse files
committed
Deprecate Yarn v1
1 parent 4c215dc commit 9514401

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ The official Node.js docker image, made with love by the node community.
3030
- [License](#license)
3131
- [Supported Docker versions](#supported-docker-versions)
3232
- [Supported Node.js versions](#supported-nodejs-versions)
33+
- [Yarn v1 Classic bundling](#yarn-v1-classic-bundling)
3334
- [Governance and Current Members](#governance-and-current-members)
3435
- [Docker Working Group Members](#docker-working-group-members)
3536
- [Docker Working Group Collaborators](#docker-working-group-collaborators)
@@ -147,10 +148,12 @@ $ docker run node npm --loglevel=warn ...
147148

148149
The `node` images come in many flavors, each designed for a specific use case.
149150
All of the images contain pre-installed versions of `node`,
150-
[`npm`](https://www.npmjs.com/), and [`yarn`](https://yarnpkg.com). For each
151+
[`npm`](https://www.npmjs.com/), and [Yarn v1 Classic](https://classic.yarnpkg.com/). For each
151152
supported architecture, the supported variants are different. In the file:
152153
[versions.json](./versions.json), it lists all supported variants for all of
153154
the architectures that we support now.
155+
See [Yarn v1 Classic bundling](#yarn-v1-classic-bundling) for future plans to
156+
remove this legacy version.
154157

155158
### `node:<version>`
156159

@@ -248,6 +251,19 @@ upgrade your Docker daemon.
248251

249252
This project will support Node.js versions as still under active support as per the [Node.js release schedule](https://github.com/nodejs/Release).
250253

254+
## Yarn v1 Classic bundling
255+
256+
[Yarn v1 Classic](https://classic.yarnpkg.com/) is currently bundled in `node` image
257+
variants. Because Yarn v1 is [frozen](https://github.com/yarnpkg/yarn) and no longer maintained,
258+
bundling plans have been revised.
259+
260+
As of Node.js 26.0.0 it is planned to no longer bundle Yarn v1 into `node` images.
261+
`node` images for lower versions of Node.js (<26) will continue to bundle Yarn v1.
262+
263+
Users with legacy requirements for Yarn v1 under Node.js 26 and above may be able
264+
to follow [Yarn v1 installation instructions](https://classic.yarnpkg.com/en/docs/install)
265+
and install using `npm install --global yarn`.
266+
251267
## Governance and Current Members
252268

253269
The Node.js Docker Image is governed by the Docker Working Group. See

0 commit comments

Comments
 (0)