Is eval $(opam env --switch={switch} --set-switch) equivalent to opam switch set switch?

general question on distinction btw eval $(opam env) vs opam switch set: If I want to switch opam switch, should I use eval $(opam env --switch=<switch_name> --set-switch) or opam switch set <switch_name>? why are there two ways to do this? - #7 by brando90