Answer the question
In order to leave comments, you need to log in
Where is the global package.json?
Good afternoon!
If we install packages globally, then they were in the system.
Somewhere there must be a file, such as the global package.json , where all globally installed packages are described? Maybe you can transfer it to another PC and do something like npm i ?
If not, how can I see the globally installed packages, and how best to transfer them to a new PC?
Thanks in advance)
Answer the question
In order to leave comments, you need to log in
On Windows it is:
there is no "global package.json" and never will be.
Yes, and putting something not locally is a very, very (!!!!) bad idea. Only Typescript, Babel and other things that need to be used on the command line can be installed. The rest is simply not recommended.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question