Search code examples
node.jscmd

How Do You Run A Node.js Prompt Lighthouse Audit From command prompt in desktop mode?


How Do You Run A Node.js Prompt Lighthouse Audit From command prompt in desktop mode?


Solution

  • This is the third time I had to figure out how to do it so I figured I'd make a post on here.

    DESKTOP COMMAND

    lighthouse https://example.com/ --preset=desktop --view
    

    MOBILE COMMAND (Default Audit)

    lighthouse https://example.com/ --view