Can someone tell me if I have installed ionic correctly? None of the commands I use works?

I have downloaded node.js and I am using a azure virtual machine through putty, I'm pretty sure I installed everything correctly. I installed ionic,

sudo npm install -g ionic

and then I tryed to create a file.,

ionic start todo blank

But the it just skips to the next line and nothing happens? when I try list the contents of the file it says it does not exist?

cd todo && ls

Any idea whats wrong?