Install CloudFoundry on an M1 Mac (arm64)

Posted on Feb 10, 2022

Install Rosetta 2

/usr/sbin/softwareupdate --install-rosetta --agree-to-license

Install Homebrew under Rosetta 2 (/usr/local/Homebrew)

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

Tap Cloudfoundry

arch -x86_64 /usr/local/Homebrew/bin/brew tap cloudfoundry/tap

Install CloudFoundry

arch -x86_64 /usr/local/Homebrew/bin/brew install cf-cli@7