📅  最后修改于: 2022-03-11 14:57:56.978000             🧑  作者: Mango
# install curl if not installed
$ sudo apt install curl
# install node 10.x repository to the system
$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
# download & install nodejs 10.x along with npm
$ sudo apt install nodejs
# install puppeteer
$ npù install puppeteer