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
{{ message }}
Repository navigation
Is there a way to execute corepack up/use without trigerring install script? #737
I run corepack use to update the packageManager field in my package.json. But, this also triggers pnpm install after updating the package.json.
I went through the code, and it isn't possible to skip the execution of the install script.
If I missed something, please refer me to the solution. Or, if this is not currently possible, will the team be okay with the implementation of a flag, say skip-install, for the use and up commands for this purpose.
Your experience corresponds to the README documentation which says:
corepack use <name[@<version>]>
When run, this command will retrieve the latest release matching the provided descriptor, assign it to the project's package.json file, and automatically perform an install.
The issue #687 contains some discussion about the status of this repo and may help you judge whether submitting a PR to propose a change is likely to be looked at or not. My reading of the situation is that development is no longer active.
Activity
MikeMcC399 commentedon Sep 11, 2025
@RahulGautamSingh
Your experience corresponds to the README documentation which says:
corepack use <name[@<version>]>When run, this command will retrieve the latest release matching the provided descriptor, assign it to the project's package.json file, and automatically perform an install.
The issue #687 contains some discussion about the status of this repo and may help you judge whether submitting a PR to propose a change is likely to be looked at or not. My reading of the situation is that development is no longer active.