Skip to content

Instantly share code, notes, and snippets.

@fataelislami
Created June 18, 2020 03:47
Show Gist options
  • Save fataelislami/7eed907c0732a44f426865a6c99dfd65 to your computer and use it in GitHub Desktop.
Save fataelislami/7eed907c0732a44f426865a6c99dfd65 to your computer and use it in GitHub Desktop.

Update Jan 16

Required NPM

please install the latest version of npm

sudo apt install npm
npm install -g npm@latest

clean the cache using

hash -r

Required Node Version 10 Above

remove old node js

sudo apt-get remove nodejs
sudo apt-get update
sudo apt-get upgrade

get the installation

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

install node

sudo apt-get install -y nodejs

Required Google Chrome Text Mode (Optional) (Only for Deployment VPS Purpose)

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Add the PPA

sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

Install and Update google chrome

sudo apt-get update
sudo apt-get install google-chrome-stable

then check your google chrome version

google-chrome --version

Install chromium

sudo apt-get install chromium-browser

Installation

> npm install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment