Skip to main content

dfx info

Basic usage

dfx info [type] [flag]

Information Types

These are the types of information that the dfx info command can display.

OptionDescription
networks-json-pathPath to network definition file networks.json.
replica-revThe revision of the bundled replica.
webserver-portThe local webserver (icx-proxy) port.

Flags

You can use the following optional flags with the dfx info command.

FlagDescription
-h, --helpDisplays usage information.

Examples

You can display the webserver port by running the following command:

$ dfx info webserver-port
4943