Cross-platform npm installation