Parsoid/Installing Node
Appearance
< Parsoid
Nodejs
[edit]Install nodejs >= v6.x and the node package manager, npm. After installing, type node --version and it should print v6.x
If you are on Ubuntu or Debian, you can use apt-get to install these packages. (However, depending on OS version you will not end up with the most recent version of nodejs. Please read this before you proceed.)
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
nodejs --version # should now print v6.x
For other systems, see:
You can also use a virtual environment like nvm or nave, which lets you install different node versions as a normal user (not system-wide as root) and easily switch between them.