How to start Flow emulator from the command line
The Flow CLI provides a command to start an emulator. The Flow Emulator is a lightweight tool that emulates the behaviour of the real Flow network.
⚠️ The emulator command expects configuration to be initialized. See flow init command.
1> flow emulator23INFO ⚙️ Using service account 0xf8d6e0586b0a20c7 serviceAddress=f8d6e0586b0a20c7 ...4...
To learn more about using the Emulator, have a look at the README of the repository.
You can specify any emulator flags found here and they will be applied to the emulator service.
- Short Flag:
- Valid inputs: valid filename
Specify a filename for the configuration files, you can provide multiple configuration
files by using
-f flag multiple times.
⚠️ Deprecated: use
flow init instead.
Initialize configuration during the command execution.