Sort:  

It is pretty simple. Just run dnf install nodejs and run scripts from the command line likr node myscript.js.