1560s, any way "in any manner;" variant any ways (with adverbial genitive) attested from c. 1560, prepositional phrase by any way is from late 14c.; see any + way (n.). One-word form predominated from 1830s. As an adverbial conjunction, from 1859. Middle English in this sense had ani-gates "in any way, somehow" (c. 1400).[anyway etymology, anyway origin, 英语词源]