before letting loose, the best set up is a pen with FULL view of their new home. horse stall or barn with no window where the peafowl are held are just about the worst.
generally younger birds are easier than fully mature birds.
start with as many birds as you can afford/want to get. at least 2 males and 3-4 females if possible. they are VERY social birds, so the more peafowl the higher the chance the new birds will stay around. if you get breeding age pair, consider keeping them confined until several clutches of their eggs are under hens or in incubators. mind, artifically incubating peaeggs can be a challenge.
when letting them out, let only one or two out at a time. do not catch or push them out of holding pen. let them walk out. do not let anything harass them during first week of freedom. they need to learn the landscape so if they happen to fly far, they know how to get back.
if possible, have chickens raise the peachicks then let mom and peachicks free range when the peachicks are large and old enough to be safe from cats, hawks.
wing trimming is controversial because a clipped peafowl still can jump 6 ft easily. if they jump over the property fence and a fox or dog comes around... byebye clipped birdie. if the fence is wood or brick, there's just about zero chance of preventing them from at least flying to top of fence/wall. chainlink is better, but if it has a top rail, they can learn that too. just not as fast as brick or wood fence.