Node.js

From miki
Revision as of 22:40, 31 October 2021 by Mip (talk | contribs) (Created page with "== Install == The simplest is to install from apt: <source lang="bash"> sudo apt install nodejs npm </source> To install the latest version using apt, install Node.js reposit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Install

The simplest is to install from apt:

sudo apt install nodejs npm

To install the latest version using apt, install Node.js repositories (nodesource, [

# Add repository -- adapt version as necessary:
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
# Install
sudo apt install nodejs