support seem nvm yargs --reinstall-packages-from
- Dominant language
- Shell
- Stars
- 989
- Forks
- 162
- PR merge metrics
- No merged PRs in 30d
Description
### 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.
Contributor guide
No contributing guide indexed for this repository
Research direction
The request names no files, tests, or entry points. Begin by locating where asdf-nodejs handles installing or switching Node versions, then compare the requested behavior with `nvm install v18 --reinstall-packages-from=v16`. Done means global packages from the old version are available after switching.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, shell
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100