Curtain rods can be inside-mounted, or hung within the window frame ... recommends measuring about 12 inches wider than a window on either side, so you can pull the curtains all the way off ...
A general rule of thumb: For wall-mounted rods, allow at least one to three inches on each side of the window to accommodate ...