Deploy node-red application on other offline machine through Jenkins

I wanted to know how to deploy node-red application on different environment like development and production using Jenkins. What are the extra steps if machine is offline.
I am new to Node-red any help is appreciable.

Node-RED is build on Node.JS so instructions for offline deployments of other Node.JS applications will apply here with the addition that you need the ~/.node-red folder as well.

In fact though, my own opinion is that offline deployments of Node-RED when using the standard installation are needlessly complex and I believe there is an easier approach.

That approach is documented here:

This puts everything together under a single folder which can then be synchronised or copied as needed.