is there a way to create a persistent ram disk via command line interface (CLI)?
I tried a lot but I don't found a way. It really drives me to despair.
You can, but you'd need to create an image file of suitable size first, and probably format it as well. Once you have got the image file, you can create a persistent RAM Disk as shown in the examples: