The easiest way to install go-ethereum is to use tge Homebrew tap. If you don’t have Homebrew, install it here.
Run the following commands to add the tap and install geth:
brew tap ethereum/ethereumbrew install ethereum
You can install the master branch using the --devel parameter:
brew install ethereum --devel
2. Run the command on your terminal to allow request from Remix as per shown on the popup window which appears after you select Web3 Provider Environment
With Geth now finally running, Go to https://remix.ethereum.org. Compile the contract as normal, but when you deploy and run a contract, select Web3 Provider from the Environment dropdown, and add “http://127.0.0.1:8545” to the popup box. Click Deploy, and interact with the contract. You should see contract creation, mining, and transaction activity.