Robert Hooke rinvented the anemometer in 1664. The invention was reinvented again by Wolfius in 1709.
The "anemometer" is an instrument used to measure wind speed. Its output is a speed measurement, and may be expressed in any convenient unit of speed, such as 'miles per hour', 'kilometers per hour', 'feet per second', etc. Anemometers are sold in units of "each".
An anemometer measures wind speed and would not work on the moon since there is no atmosphere on the moon. Without an atmosphere, there are no winds to measure.
An anemometer measures wind speed by detecting the rotation caused by the wind on its cups or blades. The speed at which the cups or blades rotate is converted into wind speed readings that can be displayed on a gauge or electronic display.