Password Prompt for sudo -v within brew Installation Script

Below script helps me,

NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

However Homebrew currently does not support ARM processor.