2020-08-06 15:39:54 -07:00
# Running Zebra
`zebrad generate` generates a default config. These defaults will be used if
no config is present, so it's not necessary to generate a config. However,
having a config file with the default fields is a useful starting point for
changing the config.
The configuration format is the TOML encoding of the internal config
structure, and documentation for all of the config options can be found
[here ](https://doc.zebra.zfnd.org/zebrad/config/struct.ZebradConfig.html ).
2023-05-23 06:18:57 -07:00
- `zebrad start` starts a full node.
You can run Zebra as a:
- [`lightwalletd` backend ](https://zebra.zfnd.org/user/lightwalletd.html ), and
- experimental [mining backend ](https://zebra.zfnd.org/user/mining.html ).
2020-08-06 15:39:54 -07:00
2023-04-28 07:13:21 -07:00
## Supported versions
2023-05-16 16:53:30 -07:00
Always run a supported version of Zebra, and upgrade it regularly, so it doesn't become unsupported and halt. [More information ](../dev/release-process.md#supported-releases ).
2023-04-28 07:13:21 -07:00
2020-08-06 15:39:54 -07:00
## Return Codes
- `0` : Application exited successfully
- `1` : Application exited unsuccessfully
- `2` : Application crashed
2021-10-29 12:25:30 -07:00
- `zebrad` may also return platform-dependent codes.