Green anoles are arboreal, so height is the dimension that counts. A tall, vertically oriented enclosure gives them the climbing routes and basking perches they use all day, and it suits their behavior far better than a long, low tank with a large footprint. When you compare enclosures, read the height first.
For a single anole, a setup in the range of a 10-to-20-gallon equivalent works, but a vertically oriented terrarium around 18 by 18 by 24 inches is a better target and leaves room to build a proper environment. As with most reptiles, bigger is rarely a mistake provided you can still keep the climate stable.
Stocking decisions are really housing decisions. Males are territorial and should never share an enclosure; a single male, or one male with one or more females in a larger, well-planted setup, are the workable arrangements. Crowding drives stress, and stress in anoles shows up as persistent brown coloration, hiding, and weight loss.