However, how infection route regulates the differentiation of CD8 TRM cells in the intestine is unclear. Here, CD8A is linked to infection.