Single-cell sequencing and spatial transcriptomics reveal the evolution of glucose metabolism in hepatocellular carcinoma and identify G6PD as a potential therapeutic target. This evidence concerns the gene G6PD and hepatocellular carcinoma.