Repository navigation
docs(env): add a guide for replacing nvm or fnm - #3257
Merged
Merged
Conversation
Contributor
|
✅ Staging deployment successful! Preview: https://viteplus-staging.void.app/ |
fengmk2
force-pushed
the
feat/node-independent-env
branch
2 times, most recently
from
October 30, 2026 04:33
944a200 to
6675697
Compare
fengmk2
force-pushed
the
feat/node-independent-env
branch
2 times, most recently
from
November 18, 2026 12:25
495f342 to
78403c9
Compare
Explain which nvm and fnm files and habits carry over, map their commands to `vp env`, and list the migration steps. Note that `vp env` runs older Node.js releases such as 16 and 18, and how to keep nvm or fnm with `vp env off node`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Node.js 18 is the oldest release that `vp env` must support. Prepare 18.20.8 in CI on every platform, and check that `vp env install`, `vp env exec`, and the node shim run it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fengmk2
force-pushed
the
feat/node-independent-env
branch
from
November 18, 2026 14:51
78403c9 to
a73be82
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The section explains how to replace nvm and fnm, so it does not describe how to keep them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fengmk2
marked this pull request as ready for review
November 19, 2026 07:17
cpojer
reviewed
Nov 19, 2026
cpojer
approved these changes
Nov 19, 2026
Co-authored-by: Christoph Nakazawa <xnakazawa@pm.me> Signed-off-by: MK (fengmk2) <fengmk2@gmail.com>
liangmiQwQ
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a "Replacing nvm or fnm" section to the environment guide, for users who want
vp envto manage Node.js instead of nvm or fnm, as asked in #2607.The section covers:
.nvmrcand.node-version), the.nvmrcvalues that Vite+ reads or ignores, and why no directory-change hook is neededvp envcommandsvp env doctor nodevp envinstalls and runs without running Node.js itself🤖 Generated with Claude Code