good housing, good fencing and a good routine x
i have a draught proof airy wooden shed (12' x 24') that can be locked at night and is partitioned to house two pairs, but i coudl fit more in, except I have a big hen coup in there with them at the moment,
fencing, I have combination of sheep wire/electric & post n rail - but they can wriggle under the post n rail
i have horses, so I am tied to a routine anyway, so the goats fit in ok with the horses routine; fed & turned out am, brought in if it rains, otherwsie brought in with the horses in the afternoon, fed, groomed/general hugging time
, then fed again at about 9pm (only if they need more hay)