Contact support

Tell us what you were trying to do and what happened. We reply by email.

Get started
Reference

Environment variables and files

Configure the CLI with environment variables, and the files it reads and writes.

Environment variables

VariableMeaning
LIGHTHOUSE_API_KEYYour API key. Works without login. logout doesn't remove it.
LIGHTHOUSE_API_BASE_URLA different Lighthouse API address. Must use https://, except for localhost.
LIGHTHOUSE_PROJECTUse this project instead of the link file or the Git remote.
LIGHTHOUSE_SCAN_TIMEOUTHow long a scan waits, in seconds. Default 1,100.

Files

PathContents
~/.config/lighthouse/config.envYour saved API key and API address. Mode 0600. Written by login.
.lighthouse/project.tomlThe repository link, written by init. Ignored by Git.
.git/lighthouse/findings/<scan-id>.mdPre-commit scan reports. Inside .git, so never committed.
Still stuck after reading this page?

Contact support

Tell us what you were trying to do and what happened. We reply by email.

On this page