Take a pan, add butter to it and let it melt. Now, saute the onions until brown. Then add green apple and thinly sliced cabbage to the pan. Let the apple and the cabbage cook on low flame.
In the next step, add brown sugar, vinegar, and water to the cabbage. Mix everything well and let it cook till soft.
Finally, when you see the liquid coming out from the cabbage in the pan then, add salt, pepper, and cloves and give it a quick mix.
Put on the lid and turn the flame down. Let the cabbage simmer for 10 to 15 min.