DEV Community

Discussion on: NPM Linking and Unlinking

Collapse
 
johngellert profile image
John Gellert

Hi Erin! Thanks for explaining this topic more.

What is npm install -g i . doing? I understand that it is installing the package globally with the -g and the . is taking all the files from the current directory. Specifically, what is i? Is this an alias? And why do you add it here?

Collapse
 
johngellert profile image
John Gellert

Is the i referring to the NPM at this link npmjs.com/package/i

Is there a reason to install i along with the folder where package.json is located?