A tall free-standing cupboard, built to hang or shelve clothes and linen in houses that had no fitted storage of their own.
Armoire comes from the Latin armarium, a cupboard for arms. The linen came later.