Skip to content

Corepack won't be distributed with Node.js 25+ official distributions #7555

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
avivkeller opened this issue Mar 19, 2025 · 2 comments
Open

Comments

@avivkeller
Copy link
Member

avivkeller commented Mar 19, 2025

https://openjs-foundation.slack.com/archives/CVAMEJ4UV/p1742399866969989

per nodejs/TSC#1697 i think we should update the downloads page on the website to add npm install --global corepack to the yarn and pnpm install snippets, to start educating people that this new step is necessary (or will be necessary) @Claudio Wunder. we might also want to recheck with pnpm if this is their preferred installation approach given the change on the node side

This change will occur when v25 releases, see the election results below for more details:
nodejs/TSC#1697 (comment)

@github-project-automation github-project-automation bot moved this to 📋 Backlog in Node.js Website Mar 19, 2025
@aduh95 aduh95 changed the title Corepack is being removed Corepack won't be distributed with Node.js 25+ official distributions Mar 19, 2025
@AugustinMauroy
Copy link
Member

Should we just disabled PNPM and Yarn on download page by adding a condition here:

compatibility: { semver: ['>= v14.19.0', '>= v16.9.0'] },

or :

  • adding snippets to install corepack
  • installing these packages with npm
    ...

@ovflowd
Copy link
Member

ovflowd commented Mar 26, 2025

Should we just disabled PNPM and Yarn on download page by adding a condition here:

nodejs.org/apps/site/util/downloadUtils.tsx

Line 235 in b0b5164

compatibility: { semver: ['>= v14.19.0', '>= v16.9.0'] },
or :

  • adding snippets to install corepack
  • installing these packages with npm
    ...

Nope. Let's not do that.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants