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
2023-11-01 15:09:40 -07:00
[here ](https://docs.rs/zebrad/latest/zebrad/config/struct.ZebradConfig.html ).
2020-08-06 15:39:54 -07:00
2023-05-23 06:18:57 -07:00
- `zebrad start` starts a full node.
You can run Zebra as a:
2023-12-07 16:14:54 -08:00
- [`lightwalletd` backend ](https://zebra.zfnd.org/user/lightwalletd.html ),
- [mining backend ](https://zebra.zfnd.org/user/mining.html ), or
- experimental [Sapling shielded transaction scanner ](https://zebra.zfnd.org/user/shielded-scan.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.