I'm doing some work on a command line interface, and to test it from the root of the project I do:
npm i -g
After this I can test the command on various projects.
IIUC running npm i -g
creates global links that are executable, but the actual files being run are the original project files?
Running:
ole@mki:~/SuperflyCSS/cli$ npm list -g | grep superfly
├─┬ @superflycss/cli@4.1.2 -> /home/ole/SuperflyCSS/cli
│ ├─┬ @superflycss/pli@3.0.0
Seems to indicate that this is the case.
I just want to triple check because I'm getting an odd scenario where it looks as if NPM is making a copy.