Your fence can be installed as close as possible to the ground, but this will affect the look of your fence, preventing a smoothly flowing fence line. It is best to strike a balance between closeness to the ground and the look of the overall installation, then fill in gaps with soil or stone after your installation is complete.