I would also double check and make sure all the valves are fully open.
https://aqueductplumbingcompany.com/plumbing/how-to-stop-water-hammer/#:~:text=Tighten%20mounting%20straps,hold%20your%20pipes%20in%20place.
I would also double check and make sure all the valves are fully open.