In a large skillet, heat the olive oil over medium heat.
Add the minced garlic and red pepper flakes (if using) and cook for 1-2 minutes, stirring frequently, until fragrant and lightly golden.
Add the shredded cabbage to the skillet and toss to coat with the garlic oil.
Season with salt and pepper to taste.
Cook the cabbage, stirring occasionally, for 5-7 minutes or until it's tender and slightly wilted.
Serve hot.
