expression
desperately; with all one's might; like crazy
Expresses doing something with extreme effort, as if one's life depended on it. Often used in casual or emphatic speech.
試験に合格するために死ぬ気で勉強した。
I studied like crazy to pass the exam.
彼は死ぬ気で走って、なんとか終電に間に合った。
He ran desperately and barely caught the last train.
Phrase composed of 死ぬ (to die) + 気 (spirit, feeling) + で (particle indicating manner). Literally 'with the feeling of dying', used idiomatically to mean 'desperately'.