How do I fix ngrok permission denied?

Rickchip picture Rickchip · Oct 10, 2018 · Viewed 10.2k times · Source

I've installed ngrok and created an alias in my user folder. When I run the following command

./ngrok authtoken tokenhere

I get

./ngrok: Permission denied

Is there somewhere I need to set permissions?

Answer

Rickchip picture Rickchip · Oct 10, 2018

I fixed this by moving the ngrok exe to the /usr/local/bin folder.