In order to check what packages are installed globally is by executing following command
npm list -g --depth=0
This lists all global packages. The
--depth flag tells npm how many dependencies to show. Setting it to 0 says we just want to know the root packages, not everything they depend on. This should be a short list right now, including npm and bower.