This command ngrok config add-authtoken <API KEY> on the documentation doesn't work for me.
If you are having a hard time looking for a solution try this code ngrok authtoken <YOUR API KEY> and it will add your ngrok API KEY to the config file which is
ngrok.yml in ~/.ngrok2/ngrok.yml
Note: This helped on a windows machine
The reason for this is that, unfortunately,
ngrokdoesn't version its docs. If you installedngrokthroughpyngrok, you installed v2, butngrok's site now hosts v3 docs, as it came out recently. The v2 command to install your auth token is:You can peruse the v2 docs here.