How can I install unreal engine to a computer without internet?

If you don’t want to do what Shohruh said, You will need to use the launcher to download it on a PC connected to the internet.

Then copy it over to the other PC, And install the required runtimes.

HTH