Skip to content

Instantly share code, notes, and snippets.

@aloaisa
Forked from wosephjeber/ngrok-installation.md
Created September 28, 2020 14:44
Show Gist options
  • Save aloaisa/3c2e35c8f0041bf3e2c681089ee1c20c to your computer and use it in GitHub Desktop.
Save aloaisa/3c2e35c8f0041bf3e2c681089ee1c20c to your computer and use it in GitHub Desktop.
Installing ngrok on Mac

#Installing ngrok on OSX

  1. Download ngrok
  2. Unzip it to your Applications directory
  3. Create a symlink (instructions below)

Creating a symlink to ngrok

Run the following two commands in Terminal to create the symlink.

# Change directories to your local bin
cd /usr/local/bin

# create symlink
ln -s /Applications/ngrok ngrok

This will allow you to run the ngrok command from any directory while in the terminal. Without the symlink, you would need to either cd into the Applications directory (or wherever you installed the executable) or reference ngrok with its full path every time (e.g. /Applications/ngrok 5000)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment