These results reveal that TREM2+ macrophages play a driving role in HCC progression by suppressing CD8+ T cell infiltration and promoting tumor cell glycolysis, providing a new therapeutic target for HCC. This evidence concerns the gene CD8A and hepatocellular carcinoma.