I'm a bit confused about the relationship between using the local cli and using the global one. Two kinds of confusion actually:
When there's a command that both support like
install
what's the difference between running the local (withyarn expo install
) and the global (withexpo
orexpo-cli
)?When the only way to run a command is to run global, what's going on? E.g., does
expo doctor
still work as it always did?
All in all I'm not at all clear why there are now sometimes two ways of doing what looks like the same thing, and sometimes no way (without going global), or why it's so easy to accidentally go global when that's not what's intended (e.g. forgetting to prepend yarn
to expo
) — and whether that matters at all (which I guess makes a third kind of confusion, actually).
What am I missing?