Eve had not yet been created when the command was given, she was commanded by Adam.
Whether Adam taught Eve expressly, or God repeated the commandment to Eve, or Eve received that command as she was made form Adam in some nonverbal way is open to speculation. I am comfortable with the theory that she got the command from Adam. It is however clear that her defiance was of God, -- she said so, and her temptation was to be like God, and not like Adam, because Satan said so.
If you are looking into the origin of the notion that women want to be men, other than a broad disordered desires produced by the original sin, we should look into the modern times, I think. I understand that there were other forces shaping modernity beside Luther, but I still could not resist sneering.