In July 1887, Scottish academic James Blyth built and installed a battery-charging wind machine to light his own holiday home in Marykirk, Scotland. Months later, American inventor Charles F. Brush built what sources describe as the first automatically operated wind turbine for electricity production in the United States, after peer review of his design with local university professors.
What would resolve this Whether Blyth's earlier but non-automatic machine or Brush's later but automatically operating turbine deserves credit as the first true wind turbine depends on which criterion, chronological priority or technical completeness, is taken as decisive, and sources do not agree on which should govern.
OpenHistory of TechnologyWind Turbine (Wikipedia)