Question: how to train your cat to pee outside?
Answer: Move the litter box close to the door the cat will use to go outside. Show the cat the new location of their litter box. Keep the box there for a few weeks until they are familiar with the location. Add some dirt and leaves to the box to introduce the elements of the outdoors to your cat's bathroom experience.