How to prepare npm global environment