see npm package global code example Example: how to find global npm packages are installed npm root -g