Our insights indicate the HER2 genetic status as a determinant for ICC prognosis. Here, ERBB2 is linked to intrahepatic cholangiocarcinoma.