פּירוש אויף דברים 17:18

וְהָיָ֣ה כְשִׁבְתּ֔וֹ עַ֖ל כִּסֵּ֣א מַמְלַכְתּ֑וֹ וְכָ֨תַב ל֜וֹ אֶת־מִשְׁנֵ֨ה הַתּוֹרָ֤ה הַזֹּאת֙ עַל־סֵ֔פֶר מִלִּפְנֵ֥י הַכֹּהֲנִ֖ים הַלְוִיִּֽם׃

און עס װעט זײַן, אַז ער זעצט זיך אױף דעם טראָן פֿון זײַן מלוכה, זאָל ער זיך אױפֿשרײַבן אַן איבערחזרונג פֿון דער דאָזיקער תּוֹרה אױף אַ בוך, פֿון דער װאָס פֿאַר די כֹּהנים פֿון שבֿט לֵוִי.

Rashi

והיה כשבתו AND IT SHALL BE WHEN HE SITTETH [UPON THE THRONE OF HIS KINGDOM] — if he acts thus (as prescribed in the previous verses) he is worthy that his kingdom should endure (Sifrei Devarim 160:1).
פֿרעגט אַ רבֿBookmarkShareCopy

Chizkuni

מלפני הכהנים, “a copy of the original retained by the priests.”
פֿרעגט אַ רבֿBookmarkShareCopy

Ibn Ezra

When he is seated at the beginning of his reign.
פֿרעגט אַ רבֿBookmarkShareCopy

Rashi

את משנה התורה [HE SHALL WRITE HIM] A משנה תורה — i.e. two scrolls of the Law, one that is placed in his treasury and the other that goes out and comes in with him (i.e. a small scroll which he carries everywhere with him) (Sanhedrin 21b). Onkelos, however, renders משנה by פתשגן, a copy; he thus interpreted the word משנה in the sense of שנן, repeating and uttering.
פֿרעגט אַ רבֿBookmarkShareCopy