Finely chop cabbage, carrot, and onion.
Heat oil in a pan and stir-fry the onion.
Add carrot and cabbage, and stir-fry together.
Add rice and stir-fry until well mixed with the other ingredients.
Season with soy sauce, salt, and pepper.
Transfer the finished fried rice to a bowl.