Instalação do lighthouse

Tutorial para Ubuntu 18.04 – Em processo
Instale o Chrome

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb

Correção, para comando apt-get
E: Unmet dependencies. Try ‘apt –fix-broken install’ with no packages (or specify a solution).

sudo apt --fix-broken install

Instalando YARN

apt-get install yarn -y

Caso YARN de erro:

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn
yarn

Instale a versão do Node 14 o superior – de acordo com o retorno do YARN

curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
sudo apt -y install nodejs
node -v

Instalando LightHouse:

git clone https://github.com/GoogleChrome/lighthouse
cd lighthouse yarn yarn install --all
yarn build-all
Rolar para cima