Ubuntu Install Puppeteer

Run the commands below to install Puppeteer in Ubuntu 20.04.

sudo apt update
sudo apt upgrade -y
sudo apt install -y npm
npm install puppeteer

Use the script below to test if Puppeteer was installed successfully. Let’s name the script “test.js”.