Two methods :
-
Building the image yourself using the official script if your device is officially supported by LineageOS or this one if not
-
Using the GSI (Generic System Image) if your device is Treble-Enabled (shipped with Oréo or Pie) : GSI for not yet supported treble phones