Hello and welcome to justanswer.com
The fuel filter is located on the driver side frame rail under the center of the truck. You will need a fuel line removal tool to take the lines off the fliter. First release the locking clips then insert the tool on the filter and push it into the line to release the spring clips. On installation make sure the flow arrow is pointing to the front and you hear a click when installing the lines to the filter.
Hopefully this answers your question and you accept. Positive feedback is appreciated and please let me know if I can assist you with anything else.