Nasi goreng nanas is a traditional variety of nasi goreng (fried rice). Although there are many recipes, the dish is usually made with a combination of rice, pineapple chunks, butter, garlic, shallots, scallions, carrots, prawns, peas, fish sauce, oyster sauce, curry powder, turmeric, oil, eggs, salt, and pepper.
Some ingredients are optional, such as prawns, peas, turmeric, and eggs, but they are often used to add more textures and flavors to the dish. The ingredients are sautéed in butter and stir-fried until everything is fully cooked. The dish is often served in hollowed-out pineapple bowls, especially in restaurants.