The default directory for a gurobi.lic license file is:
You can also place the gurobi.lic license file in your home directory, but the license will only be available for your account on the computer. We recommended that you place your gurobi.lic license file in the default directory for your system.
However, if it is necessary to store the license file in a different directory, you will need to set the system environment variable
GRB_LICENSE_FILE to point to the exact location of the file. For example, if the license file gurobi.lic is in the directory
D:\work, then set