Measure the width of your closet.
Measure and mark the wooden dowel to the width of your closet minus 1/2 inch. Cut the dowel at the mark using a saw.
Locate the wall studs in the closet using a stud finder. If you are using cup holders, find studs on the closet's side walls. If you are using rod support brackets, find studs 6 inches to 1 foot from each end of the closet's back wall. Mark the location of the studs with a pencil or painter's tape.
Determine how high and how far forward you will place the clothing rod. Test the space with your widest hanger and longest garment. Measure the appropriate distance along both studs, and mark the height with a pencil.
Place the cup holders or rod support brackets over the measurement markings. Mark the location of the screw holes on the wall with a pencil.
Drill holes over the screw markings using a power drill fitted with a bit slightly smaller in diameter than your screws. Install the screws with the drill until they are nearly tight. Finish tightening the screws with a screwdriver.
Place the wooden dowel into the cup holders or rod support brackets.