listmonk --new-config --config /etc/listmonk/config.toml

Category: Listmonk & Newsletters

listmonk --new-config --config /etc/listmonk/config.toml

Generate a sample config file at a custom path

Combines --new-config with --config so the sample lands at the path you will actually use, which suits packaged installs where /etc/listmonk is the config directory. The directory must already exist and be writable. Run `listmonk --install` afterwards to create the database schema.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.