nvm is a manager for installing and switching between different node versions
If you don’t use nvm, most likely problem is related to npm/yarn. e.g you installed expo-cli using npm and yarn, when you run npm install expo cli in npm is updated but your shell is using version from yarn
the case mentioned above is just an example, it could be the other way around, it could be multiple npm installations.
Make sure that npm/yarn bin directory is earlier in your PATH (depending on what you want to use)