Skip to main content

setupnodejs

Setup Multiple NodeJS

This tool will help you to setupset up and manage multiple NodeJS  distributions on your server. 

Please set upsetup Passenger before using this tool 

Eenos buildbuilds and maintainmaintains multiple versions of NodeJS  to provide new features to end users.

Command:

/usr/local/eenos/scripts/setupnodejs

Command Options:

Usage: /usr/local/eenos/scripts/setupnodejs <option>  [value]

Command Groups:
Options:   
    -s, --search , search                  : Show available NodeJs versions for installations   
    -l, --list , list                      : Show installed NodeJs versions
    -i <nodejs> , --install <nodejs>       : To install an eenos NodeJs version
    -r <nodejs> , --remove <nodejs>        : To remove NodeJs from server
    -d <nodejs> , --default <nodejs>       : Set the default NodeJs on server    

Search Available NodeJS For installation

To search,search available node JS for installationinstallation, use the following command,

/usr/local/eenos/scripts/setupnodejs -s
eenos-nodejs13 - Node.js is  an asynchronous event-driven JavaScript runtime
eenos-nodejs14 - Node.js is  an asynchronous event-driven JavaScript runtime
eenos-nodejs15 - Node.js is  an asynchronous event-driven JavaScript runtime
eenos-nodejs16 - Node.js is  an asynchronous event-driven JavaScript runtime
eenos-nodejs17 - Node.js is  an asynchronous event-driven JavaScript runtime
eenos-nodejs18 - Node.js is  an asynchronous event-driven JavaScript runtime

Install a NodeJS Version

To install a NodeJS Version use the following command,

/usr/local/eenos/scripts/setupnodejs -i <nodejs>

Example: For installing NodeJS version 18 ( eenos-nodejs18 )

/usr/local/eenos/scripts/setupnodejs -i eenos-nodejs18

Setup Default NodeJS

To setup a default NodeJS version on your eenos control panel, use the following command ( Here version eenos-nodejs18 )

/usr/local/eenos/scripts/setupnodejs -d eenos-nodejs18

List Installed NodeJS 

To show all installed  NodeJs versionversions in your server, use the following command 

/usr/local/eenos/scripts/setupnodejs -l
Package          Group      NodeJs Version
...........................................
eenos-nodejs16   nodejs16   v16.18.1     
eenos-nodejs17   nodejs17   v17.9.1      
eenos-nodejs18   nodejs18   v18.12.1     
...........................................
Default NodeJs  : eenos-nodejs18

Remove a NodeJS  Version

To remove a NodeJS version from your serverserver, use the following command( here, eenos-nodejs18 )

/usr/local/eenos/scripts/setupnodejs -r eenos-nodejs18

Your hosting clients can manage nodejs apps and npms from the UAPP control panel.

Eenos is the first control panel that provides a full NodeJS app deployment interface in a  hosting server.