Skip to content

feat: add --skip-install to use and up - #909

Closed
Aschenbath wants to merge 1 commit into
nodejs:mainfrom
Aschenbath:feat/skip-install-737
Closed

Aschenbath wants to merge 1 commit into
nodejs:mainfrom
Aschenbath:feat/skip-install-737

Conversation

@Aschenbath

Copy link
Copy Markdown

Add --skip-install to corepack use and corepack up so projects can update packageManager without installing project dependencies. Package-manager resolution, download verification, integrity hashes, and devEngines validation still run.

Document the option and add CLI regressions covering both commands, default and explicit installation behavior, offline reuse of the downloaded manager, signature failures, and manifest validation.

Validation on Node.js 24.20.0:

  • Build (esbuild and mkshims.ts): passed.
  • Full Vitest suite with NOCK_ENV=replay: 9 files passed; 180 tests passed and 1 existing expected failure.
  • tsc --noEmit: passed.
  • ESLint: passed.

The local test runner isolates inherited proxy settings from CLI fixtures while retaining proxy access for the live npm-key check. Compile caches were redirected out of this environment's small temporary filesystem. No tests were skipped or modified for these environment adjustments.

Closes #737

@aduh95

aduh95 commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

This account has opened more than 10 PRs in the last 24 hours. This looks like bot activity, and will result in a ban if the behavior continues.

@aduh95 aduh95 closed this Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is there a way to execute corepack up/use without trigerring install script?

2 participants