I've installed Mist (using a dmg, on Mac OS X).

Mist runs great, and when I run it, it seems to be using geth. How can I run geth from the command line without reinstalling it and without running Mist?

2 Answers 2


Geth can be run from the command line like so: geth {{parameters}}.

Example of a basic one on the main net:


Ropsten testnet:

geth --testnet

Ropsten testnet with modules exposed via rpc that only localhost can connect to:

geth --testnet --rpc --rpcapi db,eth,net,web3,personal --rpcport 8545 --rpcaddr --rpccorsdomain ""

A syncmode=light testnet anyone can connect to:

geth --testnet --syncmode="light" --rpc --rpcapi db,eth,net,web3,personal --cache=1024 --rpcport 8545 --rpcaddr --rpccorsdomain "*"

You will need to specify some sort of rpccorsdomain for you to access the node.


Make sure you are in the Geth folder. You can create a shortcut to it on your desktop. could be somewhere like this on Win:

C:\Users\USERNAME\AppData\Roaming\Ethereum Wallet\binaries\Geth\unpacked

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.