how to check if npm link is working code example Example: npm global link check npm ls -g --depth=0 --link=true