If you are using CloudLInux, you will have access to their NodeJS selector which will install the necessary components for the correct NodeJS environment for the specific user.
First, make sure that you have NodeJS selector installed. You may follow this guide to do so.
Once NodeJS selector is installed you are ready to configure your application/environment.
Begin by logging into the cPanel user you wish to do this for and locate the option called "NodeJS" under Software.
cPanel >> Software >> NodeJS
Once you click on this option, press the button called "Create Application".
From here, you can simply specify your application's information and desired environment, and once you are ready, click "Create" and this will install the necessary components to ensure you can use NodeJS.