Expo cli shuts down as soon as I open it.

I have installed the Expo cli command interface but cannot open it, it makes a quick appearance then shuts itself down. Has anyone else have had this problem and how did you resolve it? Any idea why this is happening please?