I managed to install GCloud on my end and there should be an instruction to
Modify profile to update your $PATH and enable shell command
completion?
Do you want to continue (Y/n)?
Type in y
and press Enter and the next lines of instructions will appear:
The Google Cloud SDK installer will now prompt you to update an rc
file to bring the Google Cloud CLIs into your environment.
Enter a path to an rc file to update, or leave blank to use
[/Users/{userName}/.bash_profile]:
Backing up [/Users/{userName}/.bash_profile] to [/Users/{userName}/.bash_profile.backup].
[/Users/{userName}/.bash_profile] has been updated.
==> Start a new shell for the changes to take effect.
Afterwards, you need to type exec bash -l
to restart your terminal without closing it completely.
As an alternative, here are some related links that you might find useful for setting up your GCloud on your macOS for x86/x64 and M1 chips: