npm i -g code example
Example 1: npm i -y
npm i -y installs all of the packages listed inside a of package.json dependencies if you were to clone a project
Example 2: npm -g
%userprofile%\AppData\Roaming\npm\node_modules
npm i -y installs all of the packages listed inside a of package.json dependencies if you were to clone a project
%userprofile%\AppData\Roaming\npm\node_modules