npx lighthouse https://example.com --chrome-flags='--headless --no-sandbox' --quiet

Category: Web App Development

npx lighthouse https://example.com --chrome-flags='--headless --no-sandbox' --quiet

Audit headlessly with custom Chrome flags

Passes flags to the Chrome instance Lighthouse launches, like --no-sandbox for containers, and suppresses progress output with --quiet. The --chrome-flags value is space delimited inside the quotes. Useful in CI environments without a display.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.