Installing gcloud in circleCI execution env for testing firestore

I am trying to test firestore db and thus needed to use gcloud beta emulators start cmd in my golang code. However, circleCI gives this error
exec: “gcloud”: executable file not found in $PATH

I tried adding the gcp-cli orb in yml but didn’t work. Can someone provide reference of how they did it in a simple way without having to pull docker images for it? Or any method for that matter will work.