Ngrok is a command-line software that allows developers to use their local server on the Internet. This wikiHow will teach you how to use ngrok in Windows.

Method 1
Method 1 of 2:

Downloading

  1. 1
    Go to https://ngrok.com/download. You can use any web browser to download ngrok.
  2. 2
    Click Download for Windows. A .zip file will download.
    Advertisement
  3. 3
    Double-click the downloaded file. Many web browsers will display a notification when a file is downloading; if you don't see this, you can find the downloaded file in your "Downloads" folder.
  4. 4
    Extract ngrok.exe. When you double-click to open the .zip, you'll see the files within. Click Extract all (if you don't see this, click Compressed Folder Tools) then choose a location for the file to move to and click Extract.[1]
  5. Advertisement
Method 2
Method 2 of 2:

Opening and Using

  1. 1
    Open ngrok. It's in your Start menu, most likely under "Recently added."
  2. 2
    Type "ngrok authtoken <your_auth_token>" and press Enter. Replace "your_auth_token" with your personal authtoken, and this will add your authtoken to your ngrok.yml file. To find your Authtoken, go to https://dashboard.ngrok.com/, sign in, click Authentication > Your Authtoken in the menu on the left side of the page. Your Authtoken is listed at the top of the page.
  3. 3
    Type "ngrok help" and press Enter. You'll see a wall of text explaining what ngrok can do with your commands.
    • To run a local server to the Internet, let ngrok know which port to run. For example, type "ngrok http 80" if your server is running from port 80 (which is the default).[2]
  4. Advertisement

About This Article

Darlene Antonelli, MA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene Antonelli is a Technology Writer and Editor for wikiHow. Darlene has experience teaching college courses, writing technology-related articles, and working hands-on in the technology field. She earned an MA in Writing from Rowan University in 2012 and wrote her thesis on online communities and the personalities curated in such communities. This article has been viewed 24,507 times.
How helpful is this?
Co-authors: 3
Updated: September 6, 2022
Views: 24,507
Categories: Servers
Article SummaryX

1. Go to https://ngrok.com/download.
2. Click Download for Windows.
3. Double-click the downloaded file.
4. Extract ngrok.exe.
5. Open ngrok.
6. Type "ngrok authtoken " and press Enter.
7. Type "ngrok help" and press Enter.

Did this summary help you?
Advertisement