Not all of it was transmitted verbally. See Deuteronomy 6:4-9.
Verse 9 (NASB)
“You shall write them [These words, which I am commanding you today (v.6)] on the doorposts of your house and on your gates.”
True.