I'm a PC guy but I just got my first IMAC with a cracked screen. Don't think there is any software in it. I get a signal on my external monitor when I plug it in. (Blue wavy pattern looks like a MAC background)

Can I install the OS using just the external monitor?

Does anyone know how to disable the internal screen since I am not getting anything on it anyway?