Exporting all Topic titles and IDs?

Hey folks, is there a way I can export a list of topic titles and IDs? I’m happy to do it from the command line in the DigitalOcean droplet via SSH if I have to, if someone might be able to point me in the right direction?

You can do it via data explorer plugin:

There is an option to export data in CSV format.