Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does ls-remote list OS-compatible versions or all versions? #3157

Closed
matthewpalmer opened this issue Aug 4, 2023 · 4 comments
Closed

Does ls-remote list OS-compatible versions or all versions? #3157

matthewpalmer opened this issue Aug 4, 2023 · 4 comments

Comments

@matthewpalmer
Copy link

matthewpalmer commented Aug 4, 2023

Operating system and version:

Ubuntu 18.04, Node.js 18.16.1

Questions

Thanks for all your work on this project! I don't have a bug to report. I have a couple of quick questions I'm hoping you can help me with.

Say I have a system on Ubuntu 18.04 and want to install Node.js 18.16.1 via nvm.

  • If I do nvm ls-remote -- does that list all the available Node versions, or does it filter the ones that are compatible with my current system?
  • The reason I ask about compatibility is this issue which suggests Ubuntu 18/Node 18 might be incompatible. I'm not sure I understand the relationship between nodesource, the official node releases, and nvm. Where does nvm pull from? Or are they functionally the same in terms of OS compatibility?
  • Does node.js publish an operating system compatibility table anywhere? I found this documentation / this on the main branch, but I would've thought there'd be a more public table posted e.g. on the node.js website for official releases, but I can't find anything. (This is unrelated to your project, but I thought you might know 😄, and it seems my Google skills are getting worse)

Thanks very much for your help! I really appreciate it 😄

@ljharb
Copy link
Member

ljharb commented Aug 4, 2023

It lists all versions, because determining compat beforehand is impossible for source builds afaik.

nvm pulls from the only official source, nodejs.org, which is not an apt repo. I would hope nodesource matches that, but since it’s unofficial there’s no guarantee.

@matthewpalmer
Copy link
Author

That makes sense -- thanks for getting back to me so quickly 😄. Do you know if node.js publishes an operating system compatibility list anywhere for each version? I've tried searching, but thought you might know the exact page I needed to go to to find it

@ljharb
Copy link
Member

ljharb commented Aug 4, 2023

I’m sure they publish a list of supported OSs, but that’s not the same as compatibility, and I’m not sure if there’s a table or if you’d have to spelunk through git history.

@matthewpalmer
Copy link
Author

No worries, thanks very much for your help :)

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

No branches or pull requests

2 participants