Skip to content

Anchor CLI Reference

This document provides a comprehensive reference for Anchor's command-line interface, including all available commands, subcommands, and options.

Overview

The Anchor CLI has the following structure

anchor [OPTIONS] <COMMAND>

Where <COMMAND> is one of:

  • node - Run an Anchor SSV Node
  • keysplit - Split validator keys into shares
  • keygen - Generate RSA keys for operator identification

Global Options

OptionDescriptionDefault
--data-dir <DIR>Data directory for node files~/.anchor/{network}
--testnet-dir <DIR>Directory containing testnet specsNone
--network <NETWORK>Network to use (Holesky, Hoodi)hoodi
--helpDisplay help informationUnset