I am using Jailkit as described here https://olivier.sessink.nl/jailkit/
And Also configured it for using NodeJS, with the help of this answer: Setup nodejs and npm within Jailkit
But I am still confused about how to install NVM in the jailed shell! Installation script of NVM fails inside the Jailed shell.