The last time I did this I used the isolandoftex docker image and set it up with DevContainers in vscode https://eccentric.dk/2025/08/25/using-texlive-with-dev-conta...