how to export npm globally on windows code example Example: how to export npm globally on windows npm ls -g --depth=0 // to check the installed global packages