To use LaTeX, you need 3 things: A text editor, a PDF viewer, and a (La)TeX compiler. For each of the three, there are many options to choose from. Note that a LaTeX distribution usually comes with ...
Install LaTeX Workshop extension at VS Code Install a LaTex Distribution: MikTeX Install Strawberry Perl Open MikTeX console, and check for any errors. Just hit update in case of errors.