Node.js Install
Install node with Ubuntu package manager
Source to install for Ubuntu only for one user: How To Install Node.js on Ubuntu 20.04 | DigitalOcean
If You are going to use autodeploy under other user (for example gitlab-runner user) each changes of the Marionette project settings (Marionette Stack) You should install Node JS available to all users of the VM operation system. Use apt
to install the nodejs
package from Ubuntu’s default software repository.
Here is installing Node JS available to all Users with Ubuntu package manager:
apt update
Then install Node.js:
apt install nodejs
Install the npm package manager:
apt install npm
Verify you’ve installed the required version:
Install node with Node Version Manager
Another way to install Node.js that is quite flexible is to use nvm, or Node Version Manager. This software allows you to install and maintain several different independent versions of Node.js and their associated Node packages.
Verify you’ve installed the required version
In both cases, you will receive, for example, a similar version response:
Â
Â