Run chrome lighthouse's audit from command line
问题 I would like to write a script which run (from the chrome's binary) its lighthouse 's audit with a url given. I didn't manage to find how to do it, but since there is even a chrome extension doing I assume it should be feasible right ? 回答1: Google Lighthouse can be ran using the command line. To run it from the command line, you must first install: Google Chrome for Desktop Node.js v6 or later. To install the Lighthouse CLI, open a command line and type the following command: npm install -g