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
Does not install the 'latest' Node.js version #1188
When running vp env install latest or vp env default latest Node.js 24 is installed. However, at the time of writing the 'latest' version of Node.js is actually 25.
Reproduction
N/A
Steps to reproduce
vp env install latest
Observe the LTS version is installed instead.
System Info
Environment:
Version 24.14.1
Source VITE_PLUS_NODE_VERSION
Tool Paths:
node /home/jon/.vite-plus/js_runtime/node/24.14.1/bin/node
npm /home/jon/.vite-plus/js_runtime/node/24.14.1/bin/npm
npx /home/jon/.vite-plus/js_runtime/node/24.14.1/bin/npx
vp v0.1.14
Local vite-plus:
vite-plus Not found
Tools:
vite Not found
rolldown Not found
vitest Not found
oxfmt Not found
oxlint Not found
oxlint-tsgolint Not found
tsdown Not found
Environment:
Package manager Not found
Node.js v24.14.1 (VITE_PLUS_NODE_VERSION)
I'd argue that is a counterintuitive choice. Considering the named options are 'lts' and 'latest', one would assume that 'lts' is the latest LTS and 'latest' is the latest released version (sans LTS).
I agree with @jonkoops. LTS !== Latest and latest should be the actual latest version (so, odd-numbered if available).
Luckily this won't be an issue in the future given that Node changed their release schedule. (will still be relevant as they don't promote latest to LTS right away).
Activity
fengmk2 commentedon Mar 29, 2026
This is the logic currently specifically defined by Vite+, where latest represents the newest LTS version
jonkoops commentedon Mar 30, 2026
I'd argue that is a counterintuitive choice. Considering the named options are 'lts' and 'latest', one would assume that 'lts' is the latest LTS and 'latest' is the latest released version (sans LTS).
fengmk2 commentedon Mar 30, 2026
@cpojer @TheAlexLichter do you have any suggestions?
TheAlexLichter commentedon Mar 30, 2026
I agree with @jonkoops. LTS !== Latest and latest should be the actual latest version (so, odd-numbered if available).
Luckily this won't be an issue in the future given that Node changed their release schedule.(will still be relevant as they don't promote latest to LTS right away).fix(env): resolve `latest` to absolute latest Node.js version
fix(env): resolve `latest` to absolute latest Node.js version (#1253)
jonkoops commentedon Apr 1, 2026
Thanks for the fix!