Installation
Install Geth on Linux, macOS, or Windows using package managers, pre-built binaries, or from source.
Quickstart
Spin up a node and connect to the Ethereum mainnet or a testnet in minutes.
JSON-RPC API
Interact with your node over HTTP, WebSocket, or IPC using the standard Ethereum JSON-RPC API.
Go Library
Use the go-ethereum Go packages to build Ethereum-native applications, query the chain, and send transactions.
Key capabilities
Sync modes
Choose between snap sync, full sync, and archive mode depending on your use case.
Configuration
Configure Geth with command-line flags or a TOML config file.
Accounts & Clef
Manage keys securely with the built-in keystore or the standalone Clef signing tool.
Developer tools
Use dev mode, abigen, and the EVM tool to build and test smart contracts locally.
Getting started
Install Geth
Download a pre-built binary or build from source. See Installation for all options.
Start your node
Connect to the Ethereum mainnet with snap sync (the default):Or connect to the Holesky testnet:
Attach a console
Once the node is running, attach the interactive JavaScript console:Then query the network:
Geth is the execution layer client only. Since The Merge, Geth must be paired with a consensus layer client (such as Prysm, Lighthouse, or Teku) to participate in block validation on mainnet.
