The habitats where fir clubmoss~(Huperzia selago) grows:

Alpine and subalpine calcareous grassland
Blanket bog
High montane heath and snow bed
Lowland dry acid grassland
Montane dwarf shrub heath
Montane scrub
Mountain ledge
Raised bog
Rocky slope
Scree
Upland acid grassland
Upland calcareous grassland
Upland dry heath
Upland spring flush
Upland wet heath
Valley mire