Error while installing homebrew
I'm trying to install homebrew through this command in terminal
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
but I'm facing an error as
curl: (6) Could not resolve host: raw.githubusercontent.com
I also couldn't find the .zshrc hidden file.
It would be a pleasure if someone could guide me to rectify this error, I'm trying to install homebrew for the installation of MongoDB.
MacBook Pro 13″, macOS 12.6