Heat olive oil in a skillet over medium heat.
Add chopped onions and sauté until translucent.
Stir in minced garlic and cook for another minute.
Add sauerkraut to the skillet, mixing well with onions and garlic.
Sprinkle in caraway seeds, black pepper, and salt.
Add shredded carrots and mix until well combined.
Drizzle apple cider vinegar over the mixture and stir.
Cook for 10-15 minutes, stirring occasionally.
Taste and adjust seasoning as needed.
Remove from heat and garnish with fresh parsley.