For Nexus 7 (2013) and Pixel C
Make a directory and switch into it.
mkdir l18
cd l18
Initialize the repository.
repo init -u https://github.com/LineageOS/android.git -b lineage-18.1
Then you need a copy of the local build manifest.
mkdir .repo/local_manifests
curl https://raw.githubusercontent.com/ipdev99/local_manifests/lineage-18.1/roomservice.xml -o .repo/local_manifests/roomservice.xml
or
curl --create-dirs -L -o .repo/local_manifests/roomservice.xml https://raw.githubusercontent.com/ipdev99/local_manifests/lineage-18.1/roomservice.xml
Then to sync up.
The initial sync will take a long time.
repo sync
Finally to build.
Nexus 7 (2013) WiFi
source build/envsetup.sh
brunch flo
Nexus 7 (2013) LTE (Mobile)
source build/envsetup.sh
brunch deb
Pixel C
source build/envsetup.sh
brunch dragon