I ran bellow command according to the instruction on the site. But I got this error.
site : https://brew.sh/
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
curl: (1) Protocol https not supported or disabled in libcurl
-bash: $: command not found
I investigated to enable SSL on curl, but I couldn't find the resolution on my environment. So I accessed https://raw.githubusercontent.com/Homebrew/install/master/install by browser and downloaded to local and ran it. But I got this error.
$ /usr/bin/ruby -e "$(/Users/tadashingo/Documents/install)"
-bash: /Users/tadashingo/Documents/install: Permission denied
I tried this workaround, but I still got the error. warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
Could you please guide me to install Homebrew on my environment?