The TinyTeX snippet exports PATH for the current session only. A new terminal window then fails with 'command not found: lualatex' although the install worked. Add the persisted form and a one-line check.