Where or How to edit DEPOT_PATH

By the way: Is this a command I would use in the command line or powershell?