npm root

Published: October 24, 2021

If you wonder where your global node_modules folder is saved, you can use this handy command:

sh
npm root --global