V
V
Vitya Podpriklopolny2019-05-09 14:38:57
Node.js
Vitya Podpriklopolny, 2019-05-09 14:38:57

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

1 answer(s)
H
h0w4rd, 2019-05-09
@megamage

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 question

Ask a Question

731 491 924 answers to any question