Newbie question "-bash: expo: command not found" after install

I have run npm install -g expo-cli. The install completes with a number of deprecation warnings, but no errors. When I try expo whoami, bash complains that the command is not found.

Apparently, this is a problem others have encountered in the past. However, the suggestions did not work for me (uninstall and reinstall didn’t help; ~/.npm-global/bin doesn’t exist). I know I need to add expo to my path, but where would I find the executable?

This is with npm 17.3.1 on macOS 12.1.


Eric Smith

To answer my own question, it seems to have been installed in /usr/local/Cellar/node/17.3.1/. Not the first place I would have looked.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.