n8n export:workflow --all

Category: n8n & Workflow Automation

n8n export:workflow --all

Export all workflows to stdout

Prints every workflow as a JSON array to the terminal, ready to redirect into a file with > or pipe into jq. Exactly one of --all, --id, or --projectId is required. The export is a bare array, so jq filters such as .[].name address workflows directly.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.