asdf-vm / asdf-nodejs

Node.js plugin for asdf version manager
https://github.com/asdf-vm/asdf
MIT License
887 stars 141 forks source link

support seem nvm yargs --reinstall-packages-from #322

Open daolou opened 1 year ago

daolou commented 1 year ago

Is your feature request related to a problem? Please describe

In mac,while switch node version,such as v16 switch to v18,the global npm packages which installed in v16 will lose in v18.

Describe the proposed solution

About nvm, it could be solued by nvm install v18 --reinstall-packages-from=v16

Describe similar asdf features and why they are not sufficient

About nvm, it could be solued by nvm install v18 --reinstall-packages-from=v16

Describe other workarounds you've considered

There is no.

Stratus3D commented 1 year ago

I'm not sure how exactly this works with nvm so I've moved it to the asdf-nodejs repo issue tracker.