I was able to make it work, but the command that worked for me was "cd Pumpkin.app/Contents/MacOS" (not "cd PumpkinMac.app/Contents/MacOS").
I tried doing it through the Itch app, but got this error