Sorry for being a grumpy old man, but I don't have npm on my machine and I never will. It's a bit frustrating to see more and more CLI tools depending on it.
replies(11):
I think the encapsulating comment from a another guy (in Docker or any other of your favorite VM) might be your solution.