Failed to intall forge/cli

I am trying to install forge cli in my machine.
But there was some error

ngrok - install failed, retrying
npm ERR! ngrok - downloading binary https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-darwin-amd64.zip
npm ERR! ngrok - downloading progress: 
npm ERR! ngrok - error downloading from URL RequestError: self signed certificate in certificate chain

I have tried according to stackoverflow
But still can not solved this error. Please help me.

I use this command to ignore this error

export NODE_TLS_REJECT_UNAUTHORIZED=0

Hope this will help others
refers

2 Likes