[Solved] stagehand command not found

Make sure that stagehand is added to the path variable. Following are the location on mac, linux and windows :

macOS or Linux : $HOME/.pub-cache/bin|

Windows : %APPDATA%\Pub\Cache\bin|

Add the location to your path variable and it should work.