The Node.js version that comes with the standard Ubuntu repositories is quite outdated, at least when you think of the fast development cycles recently. But Node.js offers an additional repository to get the latest stable release. To install this a script is available that needs to be downloaded and executed. This is for the version 8 of node.
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
check the versions
npm --version
Keine Kommentare:
Kommentar veröffentlichen