NodeJS has grown immensely in popularity and use. It's no surprise that it's found commonly running Discord bots and other applications as it is easy to work with and very flexible.
We're going to be installing NodeJS on Ubuntu 18.04 today.
As always, if you're starting with a fresh install it is recommended to run the following:
sudo apt update && sudo apt upgrade
For users who are interested in getting one of the previous Long Term Stable version of NodeJS which is 10.15.2 you can simply run:
sudo apt install nodejs npm
If you're looking for a more current stable release, you will need to do the following. Adjust the setup version to the one that fits your needs. You can consult https://nodejs.org/en/download/releases/ for more releases (Note that using this method installs both nodejs and npm in a single command instead of needing to be installed separately:
sudo apt install curl curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt install nodejs
You can verify the installed versions after by running:
That's all folks. From here on you are ready to begin developing and deploying your NodeJS applications on your SkySilk server running Ubuntu 19.04. This was not an extensive guide on using and installing NodeJS and NPM, it is instead intended to help users get up and running with their server. For more in-depth information, visit https://nodejs.org/en/docs/
Join our Private Discord Chat to chat with, as well as find community assistance from other Verified SkySilk Users: https://invite.gg/SkySilk