How to install nodejs in sub directory

Please i will like to know how to install nodejs on my subdomain. I have deployed it globally but the application requires that it be deployed within the sub directory itself where it will be used.

check Setup Express.js Application on CyberPanel/OpenLiteSpeed may be this will help you in setup

I did not find my solution here.