Cook rice according to package directions and allow to cool completely.
Heat oil in a large wok or skillet over medium-high heat.
Add chopped garlic and sauté until fragrant, about 30 seconds.
Add carrots, French beans, bell peppers, and cabbage or mushrooms. Stir-fry until vegetables are tender-crisp, about 3-4 minutes.
Add green chili and green onions, cooking for 1-2 minutes more.
Stir in the cooled rice, breaking up any clumps with your spatula.
Add soy sauce, vinegar, salt, and crushed black pepper. Mix everything well to distribute seasonings evenly.
Continue frying for 3-5 minutes, stirring frequently, until rice is heated through and slightly crispy.