In this article, I will show you to uninstall terraform from macOS using brew. There are situations where you need to uninstall terraform and reinstall it so follow the steps to uninstall the terraform.
You might also like: How to install Terraform on macOS Big Sur with Homebrew
Uninstall terraform macOS
$ brew uninstall terraform
Uninstalling /usr/local/Cellar/terraform/0.14.8... (6 files, 61.8MB)
As you can see with the above command terraform has been uninstalled if you have installed it with the brew.