The absence of a second single quote makes it difficult to guess what exactly you want to do - a redirection, or inserting a <-gt> sign plus sometext?
Howsoever, for insertion, the man page says sed wants a "backslash <new line>" combination - try this and report back.
sed: 1: "1isometext": command i expects \ followed by text
I can run either command in CygWin and add the "sometext" line to the first line in the infile no problem. I am trying to run all my sed scripts in MAC without any modifications