Skip to main content

dfx quickstart

Use the dfx quickstart command to perform initial one time setup for your identity and/or wallet. This command can be run anytime to repeat the setup process or to be used as an informational command, printing information about your ICP balance, current ICP to XDR conversion rate, and more.

Basic usage

dfx quickstart


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

--identityThe user identity to run this command as. It contains your principal as well as some things DFX associates with it such as the wallet.


You can specify the following options for the dfx quickstart command.

--log <LOGMODE>The logging mode to use. You can log to stderr, a file, or both [default: stderr][possible values: stderr, tee, file].
--logfile <LOGFILE>The file to log to, if logging to a file (see --logmode).


To run a guided setup, run dfx quickstart

dfx quickstart
Your DFX user principal: xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxx
Your ledger account address: xxxxx
Your ICP balance: 1234.567 ICP
Conversion rate: 1 ICP <> 3.7950 XDR
Import an existing wallet? no
Spend 2.63504611 ICP to create a new wallet with 10 TC? no
Run this command again at any time to continue from here.