I wonder, should there also be /usr/bin/npm-16 and /usr/bin/npm-18, ala 
/usr/bin/pip3.7, /usr/bin/pip3.8, /usr/bin/pydoc3.7, ... ?

Right now, an 'npm' command always runs in whatever version is  set as 
/usr/bin/node, which makes it difficult to use a non-default version of 
/usr/bin/node-* to install packages — which seems like it could be useful for 
testing purposes.

Or is there some way I'm missing, that the single /usr/bin/node can be used 
with different versions?

Hmm. `node-18 /usr/bin/npm install` seems to work (if the default is 
node-16)... but that feels clunky.
_______________________________________________
nodejs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to