When you install the new refrigerator, it makes noises that are just a normal part of the new installation. This is partly because the unit is having to cool down for the first time, which makes the inside walls contract and expand. The noises you will hear during this period are similar to a popping type of knocking sound.
Look on the shelves and in the door at the items you have in the refrigerator. You might have something that is moving or knocking into something else when you open the door. This can happen when you have something on the shelf that hits against something in the door. Try moving items around to see whether the noise stops.
If the refrigerator rocks a little when you open the door as well, the knocking noise may be related to the unit not sitting level. Try pushing it from side to side to determine whether it is sitting level. The bottom front grille can be popped off so you have access to the leveling feet on the unit. You will need a wrench and the assistance of a friend to lift the refrigerator slightly to adjust the height of the feet.
If the sound seems to originate from the freezer area of the refrigerator, it may be from the ice maker. When the ice maker is producing ice, it makes a variety of knocking and banging noises. Often this is from the ice dropping into the bin. If you have an ice dispenser in the door that you’ve been using, you may hear knocking as the ice moves when you open the door.
Look at the top of your refrigerator to determine whether anything is sitting on top of it. You may have something sitting on the top that moves when you open and close the refrigerator door. If so, this may be the cause of the knocking noise you are hearing. Moving the items farther back or to another location will stop the noise.