This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene has been writing and editing tech content at wikiHow since 2019. She previously worked for AppleCare, served as a writing tutor, volunteered in IT at an animal rescue, and taught as an adjunct professor for EN101 and EN102. Darlene has completed Coursera courses on technology, writing, and language. She holds both a BA (2011) and an MA (2012) from Rowan University in Writing, with a focus on workplace communication. With her extensive experience, academic background, and ongoing learning, Darlene has become the go-to grammar expert for her friends and family, as well as a skilled wordsmith for anyone in need.
This article has been viewed 38,110 times.
Learn more...
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.
Steps
-
Go to https://ngrok.com/download. You can use any web browser to download ngrok.
-
Click Download for Windows. A .zip file will download.Advertisement
-
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.
-
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]
-
Open ngrok. It's in your Start menu, most likely under "Recently added."
-
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.
- If you don't have an account, you can sign up for a free account at https://dashboard.ngrok.com/signup. You'll need an account in order to use ngrok.
-
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]
Expert Q&A
Tips
About This Article
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.