How to use Gurobi 11 in Julia launched by Anaconda?

Try setting GUROBI_HOME to point to your new installation, then run import Pkg; Pkg.build("Gurobi"), and restart Julia for the change to take effect.

See GitHub - jump-dev/Gurobi.jl: Julia interface for Gurobi Optimizer

If it works, I should clarify the readme, since this comes up from time to time.