You’ll want to get the source build version anyway.
instructions: Unreal Engine 4 on GitHub - Unreal Engine
There are plenty of resources on how to get that done including the instructions on the Unreal Engine GitHub (make sure you sign into GitHub).
https://github.com/EpicGames/UnrealEngine
Also, make sure you have visual studio installed.