For setup instructions please see the fabric wiki page that relates to the IDE that you are using.
This mod removes all Nether fog from the game, as well as the fog that occurs when you are in lava or water.
This template is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.