וַיֹּ֤אמֶר פַּרְעֹה֙ אֶל־יוֹסֵ֔ף אֱמֹ֥ר אֶל־אַחֶ֖יךָ זֹ֣את עֲשׂ֑וּ טַֽעֲנוּ֙ אֶת־בְּעִ֣ירְכֶ֔ם וּלְכוּ־בֹ֖אוּ אַ֥רְצָה כְּנָֽעַן׃
I rzekł Faraon do Josefa: "Powiedz braciom swoim: Oto co wam uczynić, - objuczcie bydło wasze, a idźcie, udajcie się do ziemi Kanaan;
Sforno on Genesis
אמור אל אחיך זאת עשו, this is what should be your purpose to take your father and your families, etc.
Or HaChaim on Genesis
זאת עשו, "Do this, etc." Whereas you do not require permission for most of what you are about to do, you do need Pharaoh's permission to take the wagons for transporting your families. When the Torah describes Pharaoh as telling Joseph to present the wagons to be used as something Pharaoh had "commanded, etc." this is only a figure of speech for a courteous invitation by Pharaoh that the brothers' families should avail themselves of these facilities on their journey to Egypt.