To cook frozen chicken nuggets in an air fryer, preheat it to 400 degrees Fahrenheit and cook the nuggets for approximately 12 minutes. It is important to space the nuggets out in the air fryer basket to allow for even cooking.