Take a cutting from an adult Pitaya that is up to 15 inches long. Dust the cut end with fungicide and let it dry indoors for up to a week to form a callus.
Mix equal parts moistened peat moss and sand. Insert the cut end of the cutting 1½ inch into the soil. Cuttings take four to six months to develop a good root system. Keep the plant lightly moistened in partial sun.
Prepare a bed in a full sun location by digging in 5 inches of compost and 3 of sand. Remove any rocks or obstructions. Remove the plant from the pot and dig a hole the size of the root ball. Set the plant at the same level it was growing before and backfill the hole. Water until soil puddles up.
Erect a trellis 5 to 10 inches away from the plant and begin training it. Use pieces of cotton twine to lightly tie the main body of the cactus to the support.
Use pruners to remove the arms, or lateral growth, from the cacti in the first year. Cut the main stem 5 inches when it reaches the top of the trellis. Allow new lateral growth to form and tie it to the trellis as it gets taller.
Apply 1/4 lb. fertilizer one month after planting outdoors. Use 1/4 lb. balanced palm fertilizer every two months. Work it into the top 5 inches of soil and follow with watering. Spread 4 lbs. of manure around the base of the plant in the first year.
Mulch with 2 to 6 inches of organic mulching material such as bark or wood chips. Water every week except spring. Let the plant dry in spring to force flowering. Use heavy gloves to harvest the fruit when it is soft and heavy.