Replies: 1 comment 7 replies
-
Sounds good |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks to #3629 , we now have
pnpm env use --global lts
,pnpm env use --global 16
,pnpm env use --global 16.11.1
.I'd like to hear opinions on supporting the following ( which
n
supports ):pnpm env use --global latest
to be inline withn latest
which installs the version listed as the first array item usingURL 1
. This URL is already being fetched when installing a specific version such as16.11.1
pnpm env use --global rc/v17.0.0-rc.1
to be inline withn rc/v17.0.0-rc.1
usingURL 2
.I don't think there is a huge need for nightly, but if so, it'd be the same format as installing an
rc
release -nightly/v17.0.0-nightly20211012a784258444
usingURL 3
.In orders of feature priority:
latest
is the lowest barrier to add, because the release json is already being fetched and parsed.latest
is my most common use case, even abovelts
.rc
would be a nice-to-have for testing new features and v8 versions before they hit therelease
channel.nightly
I personally don't have a need for, but it wouldn't be much more to add ifrc
is also supported.Relevant URLs:
1: https://nodejs.org/download/release/index.json
2: https://nodejs.org/download/rc/index.json
3: https://nodejs.org/download/nightly/index.json
Beta Was this translation helpful? Give feedback.
All reactions