Files
cheatsheet-tldr/tldr/geth
2025-05-04 00:21:53 +00:00

26 lines
457 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# geth
> The go-ethereum command-line interface.
> More information: <https://geth.ethereum.org/docs/fundamentals/command-line-options>.
- Connect to the main Ethereum network and automatically download the full node:
`geth`
- Connect to the Ropsten test network:
`geth --testnet`
- Create a new account:
`geth account new`
- Enable mining:
`geth --mine`