To get started with Lineage X, you'll need to get familiar with Repo and Version Control with Git.
To initialize your local repository use a command like this:
repo init -u https://github.com/Lineage-X/android.git -b ten
Then to sync up:
repo sync -c --force-sync --no-tags --no-clone-bundle -j$(nproc --all) --optimized-fetch --prune
Build command
. build/envsetup.sh
lunch lineage_$device-userdebug
mka bacon
Credits: Lineage OS