1844, American English, from inch (v.) + worm (n.). Other old names for it included loaper caterpiller and surveyor, all from its mode of progress.