Install Latest version of node.js and npm on Ubuntu 17.10 Server
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.
npm is the package manager for JavaScript and the world’s largest software registry. Discover packages of reusable code — and assemble them in powerful new ways.
Install node.js on Ubuntu 17.10 server
From the terminal run the following command
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash --
sudo apt-get install -y nodejs
This will install all the dependent packages required to run Node in our system.
Check node and npm version details
node -v
v9.4.0
npm -v
5.6.0
I am getting an error that there is no release file and that apt-secure requires a release file to checksum the download. Can I turn this off for this commend? Or do I need to disable it, run the command and then enable it?