Most of the AM4 coolers are compatible with AM5 socket and are installed the same way – by using either the preinstalled clips or removing them and screwing the AM5 socket mounting brackets in the treads. A small number of coolers, like the Noctua NH-L9a-AM4, are not compatible out of the box and you either need a dedicated kit or a different cooler.
Here we show more details about the installation step by step: