You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TSC voted to remove corepack in a future (25+) release:
Winning candidate: Phase out later: stop distributing Corepack (i.e. the distribution will no longer contain a corepack executable) on future (i.e. 25+) release lines of Node.js – existing release lines as well as the very next (i.e. 24.x) will keep it as experimental.
As for long-term plans it's a little soon to be certain what the alternative to Corepack will be, but I believe likely we'll keep the versioning mechanism while using a different implementation than Corepack. For the moment I'm focusing on the next two Yarn majors, and once this job is done we'll have more clarity as to what we need.
The vote does not change much. The Node.js TSC decided to continue distributing Corepack with the next release of Node.js which is 24.x and has end-of-life in April 2028. Users who start in Oct 2025 with Node.js 25.x when it's released would install Corepack with npm, unless Corepack adds a different mechanism to install it in the meantime. Many pnpm users are already installing Corepack with npm due to a package signing issue that occurred in Jan 2025, and which required updating independently of the Node.js version, so there is no hard reliance on Corepack being distributed with Node.js.
For me the barrier to using Corepack in production is that it is marked as experimental. I don't care though if I need to install it manually instead of having it delivered together with Node.js.
I would need to see it declared as stable with an on-going support commitment and endorsement for use in production.
One of the things that should be changed here is the migration guide. It assumes anyone with Node 18+ has Corepack, which is no longer true. And in particular, given that Yarn 1 has yarn global support but Berry doesnʼt, Iʼm wondering if yarn global add corepack is supported. I expect so since Iʼm not getting rid of yarn 1?
In the python world, uv basically combined the pyenv (nvm), virtualenv(~local node_modules) & pip (npm), and can be installed in the common expected ways, including brew install uv or pip install uv.
Activity
arcanis commentedon Mar 16, 2025
They are not, a vote is in progress as of last week. The thread you link is a non-binding circlejerk.
If Node.js decides to neuter Corepack in any way (which we'll see depending on the results of the vote) we'll take notice and act accordingly.
BurningEnlightenment commentedon Mar 19, 2025
The TSC voted to remove corepack in a future (25+) release:
nodejs/TSC#1697 (comment)
arcanis commentedon Mar 19, 2025
I updated the getting started page, help welcome to update other references in the doc.
As for long-term plans it's a little soon to be certain what the alternative to Corepack will be, but I believe likely we'll keep the versioning mechanism while using a different implementation than Corepack. For the moment I'm focusing on the next two Yarn majors, and once this job is done we'll have more clarity as to what we need.
MikeMcC399 commentedon Mar 19, 2025
The vote does not change much. The Node.js TSC decided to continue distributing Corepack with the next release of Node.js which is
24.xand has end-of-life in April 2028. Users who start in Oct 2025 with Node.js25.xwhen it's released would install Corepack with npm, unless Corepack adds a different mechanism to install it in the meantime. Many pnpm users are already installing Corepack with npm due to a package signing issue that occurred in Jan 2025, and which required updating independently of the Node.js version, so there is no hard reliance on Corepack being distributed with Node.js.MikeMcC399 commentedon Mar 20, 2025
For me the barrier to using Corepack in production is that it is marked as experimental. I don't care though if I need to install it manually instead of having it delivered together with Node.js.
I would need to see it declared as stable with an on-going support commitment and endorsement for use in production.
https://nodejs.org/docs/latest/api/corepack.html has it in the category Experimental
"Non-backward compatible changes or removal may occur in any future release. Use of the feature is not recommended in production environments."
dcorking commentedon May 21, 2025
@MikeMcC399 do you recommend installing yarn directly via npm in a production script? (instead of via corepack)
MikeMcC399 commentedon May 21, 2025
@dcorking
dhouck commentedon Aug 14, 2026
One of the things that should be changed here is the migration guide. It assumes anyone with Node 18+ has Corepack, which is no longer true. And in particular, given that Yarn 1 has
yarn globalsupport but Berry doesnʼt, Iʼm wondering ifyarn global add corepackis supported. I expect so since Iʼm not getting rid of yarn 1?luckydonald commentedon Oct 3, 2026
I feel pretty silly, to now have to:
nvm.nvmto getnpm.npmto installcorepackcorepackto installyarnIn the python world,
uvbasically combined thepyenv(nvm),virtualenv(~localnode_modules) &pip(npm), and can be installed in the common expected ways, includingbrew install uvorpip install uv.