Surge Command Not Found

I am running into an error when using the surge command in my terminal. I ran npm install --global surge in my terminal and everything looks okay, but when I run the command “surge” it comes back saying command not found.

The other npm packages on my comp work fine. I tested create-react-app and no errors.

Thanks!!

Me also. If anyone finds out please post.

Actually I just had the idea of using

npx surge

as the command because npx is the new package executor. We installed but then needed to execute.

Nice solution @alangervin3193293788 !!

Cheers

I know this was marked as solution but I wanted to correct information I posted and I don’t see an edit button on my answer unless I delete it. npx actually stands for node package executor not new package executor.