You can use posts. If you have a
TSC you can get everything there including a solar fence charger. You may want to consider a DC fence charger but you would also need a battery. Mine is AC but my barn has electricity so it was easy for me to go that route.
I have the plastic fence posts for my hot wire in some places and in other I use the insulators that mount on a fence post. You will need a ground rod. I hope this helps. I also put in a switch under the fence charger for cutting off the power to the electric wire. Good luck.
Here is some wire.
This is poly rope wire. You can also get it in a tape.
This is where something attempted to dig but immediately aborted the attempt. These are the plastic poles to hold up the electric wire if you go that route.
Here I used insulators on some EMT. Worked well. I also have netting covering the pens.
We have added another coop since this picture was taken but the wires are the same except we also added another pen.
Here is another of the plastic posts we used to hold up the electric wire. I also burried welded wire along the bottom of the fence. The birds kept digging there. I guess they were trying to dig out.
On the coop to the right is where the fence charger and switch are mounted. The ground rod is under them sticking about 6/8 inches out of the ground. I took the wires down temporarily while I was working on the coops. Some of the post for the electric wire are laying on the ground.