In what sense did the Jews hear all the commandments from Hashem if they directly heard only the first two?
According to the Alter Rebbe’s explanation in Tanya cited here, the first two commandments contain the general principles of all 613 mitzvos. Fulfilling positive commandments expresses “Anochi,” while avoiding prohibitions expresses “Lo Yihiyeh Lecha”; both affirm that there is nothing besides Hashem.
Quote from the source«We heard the general principles, because “Anochi” includes all the positive mitzvos and “Lo Yihiyeh Lecha” includes all the prohibitions.»
- Author
- Alter Rebbe
- Source
- Beis Moshiach - English — 565, p. 28