TEXINPUTS is the environment variable that contains a list of paths to directories containing tex or LaTeX input.