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