Add the olive oil to the Instant Pot and set to saute mode. Allow to heat for 1-2 minutes. Add the onion and cook for 1-2 minutes until translucent then add the garlic and cook for another minute until fragrant.
1-2 Tablespoons olive oil, 1 medium yellow onion, 3 cloves garlic
Add the ground beef and use a wooden spoon to break the beef up into small chunks. While it’s cooking, add the salt, garlic powder, onion powder and dried basil. Continue cooking the beef until completely brown and no pink remains, about 5 minutes total.
1 lb ground beef, 1 teaspoon kosher salt, 1 teaspoon garlic powder, 1 teaspoon onion powder, 2 teaspoons dried basil
Turn saute mode off and add 1 cup of water, stirring with a wooden spoon to remove any brown chunks from the bottom of the instant pot. Add the pasta sauce and stir well.
2 cups water, 1 (24oz) jar marinara sauce
Break the uncooked spaghetti in half so it fits in the instant pot and place on top of the pasta sauce, meat and water. Do not stir. Add the remaining cup of water on top of the uncooked pasta and do not stir.
12 ounces spaghetti
Close the lid of the instant pot and make sure the knob is set to “sealing.” Set the pressure cooker to high (manual) for 8 minutes. It will take about 8-10 minutes to come to pressure then start counting down.
When the timer goes off, use a wooden spoon or towel to quick release the pressure valve. To do this, turn the valve from “sealing” to “venting.” Open the lid and serve immediately with parmesan, basil or red pepper flakes.