Devarim / Deuteronomy 25:17
זָכוֹר אֵת אֲשֶׁר־עָשָׂה לְךָ עֲמָלֵק בַּדֶּרֶךְ בְּצֵאתְכֶם מִמִּצְרָיִם׃
Remember what Amalek did to you on the way, when you came out of Egypt:
Pshat פְּשָׁט
Remembering aloud
Rashi links Amalek to the previous verse on false weights: cheating in measures brings an enemy. Ramban: "remember" is with the mouth, "do not forget" with the heart. Tell your children what Amalek did, as the Torah commands telling what happened to Miriam, so as to remember how dangerous evil speech is.
How Rashi and Ramban explain it
Remez רֶמֶז
"You" and "you all"
Agra DeKala: the verse begins with "to you" in the singular (לְךָ) and ends with "you all came out" (בְּצֵאתְכֶם). At the exodus from Egypt all were in one exile, while Amalek wounded each person in his own trait. Midrash Tannaim splits the name Amalek (עֲמָלֵק): "a people that licks" (עַם לָק), swooping like a locust.
How Agra DeKala and Midrash Tannaim explain it
Drash דְּרָשׁ
A full dish and an empty one
Midrash Tanchuma: of Shabbat and of Amalek the same word "remember" is said, but they are not equal. A king remembered a friend over a full dish and an enemy over an empty one. Shabbat is remembered at a set table, Amalek so as to blot out his memory. Rabbi Banaa: a generation with false measures brings an enemy upon itself. That is why Amalek follows the law of weights.
How Midrash Tanchuma explain it
Sod סוֹד
Memory that renews
Mei HaShiloach explains the midrash's parable of the empty dish. Victory over the evil inclination is precious because there was something to fight. Rest after slavery is sweet at first, and then one gets used to it. So it says "remember": recalling how the enemy overpowered us, we receive a new desire each time.
How Mei HaShiloach explain it