Category Archives: NodeJs

Install Node.js Puppeteer on Debian 9 Stretch

Steps to install Puppeteer (Headless Chrome Node API) on Debian 9 Stretch. First you need to install Node.js 12.x: curl -sL https://deb.nodesource.com/setup_12.x | bash – apt-get install -y nodejscurl -sL https://deb.nodesource.com/setup_12.x | bash – apt-get install -y nodejs Then install Puppeteer module: npm install -g puppeteer –unsafe-perm=truenpm install -g puppeteer –unsafe-perm=true Now fix the “No […]

Install Node.js 12.x on Debian 9 Stretch

To install Node.js 12.x on Debian 9 Stretch just type: curl -sL https://deb.nodesource.com/setup_12.x | bash – apt-get install -y nodejscurl -sL https://deb.nodesource.com/setup_12.x | bash – apt-get install -y nodejs Some Node.js modules may require build-essential: apt-get install build-essentialapt-get install build-essential References: Installing Node.js via package manager NodeSource Node.js Binary Distributions

Install Node.js on Debian 8 Jessie

Download this bash script to update the PPA and apt repos: curl -sL https://deb.nodesource.com/setup_7.x -o nodesource_setup.shcurl -sL https://deb.nodesource.com/setup_7.x -o nodesource_setup.sh * Replace 7.x with the last Node.js version Grant +x permissions to the bash script: chmod +x nodesource_setup.shchmod +x nodesource_setup.sh Run the bash script: bash nodesource_setup.shbash nodesource_setup.sh Now install Node.js (it contains also npm): apt-get […]