# Install Lighthouse globally
npm install -g lighthouse
# Run locally, output as html, output to path, headless, ignore ssl erros
lighthouse [URL] --output html --output-path [FILENAME].html --chrome-flags="--headless" --chrome-flags="--ignore-certificate-errors"