one-word form is common from 1830s; in two words from 1560s, "in any manner," also any ways (with adverbial genitive); see any + way (n.). As an adverbial conjunction, from 1859.
Middle English in this sense had ani-gates "in any way, somehow" (c. 1400), also on anikinnes wise "in any way or manner" (c. 1200), and Late Old English had on enige wisan "in any wise, in any manner." As a prepositional phrase, in any way is from late 14c.
Others are reading
Definitions of anyways
used to indicate that a statement explains or supports a previous statement; "I think they're asleep; anyhow, they're quiet"; "I don't know what happened to it; anyway, it's gone"; "I don't know how it started; in any case, there was a brief scuffle";
Synonyms: anyhow / anyway / in any case / at any rate / in any event