Press the sauté button on your Instant Pot and add sesame oil.
Cook garlic until fragrant, about 30 seconds.
Pour in chicken broth, soy sauce, and mushrooms.
Lock the lid, set to high pressure for 2 minutes.
Quick release the pressure and add ramen noodles and spinach.
Switch back to sauté mode and cook for 2–3 minutes until noodles are tender.
In a separate pot, boil eggs to your liking, then peel.
Ladle ramen into bowls, top with halved eggs and green onions.