Heat vegetable oil in a large skillet or wok over medium heat.
Add mustard seeds and let them splutter.
Add cumin seeds and curry leaves and sauté briefly.
Add chopped onion and cook until soft and translucent.
Stir in minced garlic and cook for about 30 seconds.
Add diced carrots and chopped green beans and cook for 3–4 minutes.
Add shredded cabbage and green peas and mix well.
Sprinkle turmeric powder, chili powder, salt, and black pepper.
Stir fry the vegetables for about 5–7 minutes until tender but still crisp.
Sprinkle grated coconut and mix gently.
Garnish with fresh cilantro before serving.