Bind an npm global installation to its invoked package before replacing it.
Local/npx copies and source checkouts retain npm's separate global destination. On Windows an
adjacent npm shim must name the entry; on POSIX the bin link must resolve to it.
Bind an npm global installation to its invoked package before replacing it. Local/npx copies and source checkouts retain npm's separate global destination. On Windows an adjacent npm shim must name the entry; on POSIX the bin link must resolve to it.