To achieve wok hei, cook on high heat and avoid overcrowding the pan. This allows for quick, high-temperature cooking that gives the rice a slightly smoky, charred flavor. Using a well-seasoned wok or cast-iron skillet can also help develop this distinct taste.