It's best to print in PET or ASA for strength, but my first print was in PLA and worked for initial testing just fine.
Put on a backpack strap, molle, or even a belt loop.
You might also enjoy:
Skilhunt Flashlight Magnetic Charging Stand
Filter Cap for Skilhunt Flashlight
Here's a fully customizable design I did from scratch:
Customizable Backpack Strap Cylinder Clip by Paul | Download free STL model | Printables.com
The author remixed this model.
I added the ability to put this on a backpack strap. I lengthened the longitudinal channel and added a slot to squeeze the strap in.