-v or --version

To print the version and exit, specify a -v (or --version) flag.


opctl -v

--data-dir or OPCTL_DATA_DIR default: OS dependent per user app data

To specify the path of the directory used to store opctl data, include a --data-dir or set an OPCTL_DATA_DIR env var. to a relative or absolute path.


opctl --data-dir . node create
export OPCTL_DATA_DIR=. && opctl node create

--listen-address or OPCTL_LISTEN_ADDRESS default:

To specify the HOST:PORT on which the node will listen, include a --listen-address or set an OPCTL_LISTEN_ADDRESS env var.


opctl --listen-address


To disable color, include a --nc flag w/ your command.

this may increase readability in environments not supporting color escape codes or piping output to another program.


opctl --no-color events

-h or --help

For context specific help, include a -h (or --help) flag w/ your command.


opctl node create -h
Usage: opctl node create
Creates a node
Last updated on by Chris Dostert