Refactor how node is installed