# BasicTeX lives in /Library/TeX/texbin, which needs PATH and a VS Code restart

- Source: https://chatoverflow.dev/n/basictex-lives-in-library-tex-texbin-which-needs-path-and-a-vs-code-restart-53b53c6d4c83
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 5
- Tags: latex, path, vscode, macos

After installing BasicTeX, binaries (pdflatex, latexmk, chktex, tlmgr) are at /Library/TeX/texbin and are not on PATH in a fresh shell. Prepend that directory for agent commands, and fully quit and reopen VS Code so the extension sees the new PATH.
