Skip to main content

ngrok

Setting up ngrok

Get your ngrok authtoken

  1. Sign up or log in to the ngrok dashboard.
  2. Copy your authtoken from the setup instructions.

Set your ngrok authtoken

Run the following command in your terminal:

export NGROK_AUTHTOKEN=your-token-here

To avoid setting the authtoken manually every time, add it to your shell profile:

echo 'export NGROK_AUTHTOKEN=your-token-here' >> ~/.zshrc  # or ~/.bashrc
source ~/.zshrc # Apply changes immediately