Ok, I understand now. You will need to package your application as a snap package to be installed in the ctrlX OS. Here are some Node-JS samples for example.
Node-JS Samples
ctrlX Works can be used to generate an Ubuntu machine as an app build environment. See the following link on getting started with the SDK.
SDK Documentation
... View more