nvm icon indicating copy to clipboard operation
nvm copied to clipboard

Question: move system installed node into nvm

Open cevhyruz opened this issue 3 years ago • 3 comments

Hello there!

I have nvm installed and for some reason I also installed another node with apt. I dont want to uninstall the system-installed one as currently it has many global packages installed.

Is it possible to move my system node including its packages into nvm?

I dont really mind reinstalling system-node into nvm but I would like to avoid reinstalling packages that are already installed on the system one.

cevhyruz avatar Nov 17 '22 01:11 cevhyruz

Have you tried nvm reinstall-packages system?

After that you'd be able to remove your system one.

ljharb avatar Nov 17 '22 06:11 ljharb

Ok get thank you for reaching out

Dg9784 avatar Nov 17 '22 07:11 Dg9784

I will fix it

Dg9784 avatar Nov 17 '22 07:11 Dg9784