ERROR: Could not find mbed program in current path

I just installed Mbed Studio and when trying to use CLI, I get these errors:

ERROR: Could not find mbed program in current path

I have not managed to upload the binky code with drag and drop, Mbed Studio or the CLI. To make the matter worse, when importing the Blinky git with CLI or when doing ‘mbed deploy’, Mbed Studio simply freezes and has to be rebooted. After rebooting my computer, I get this in Mbed Studio:

What magical spells do I need to be able to upload Blinky? At this point all the three methods of uploading code have failed.