softwareupdate --list-full-installers

Now that you have a bootable installer, follow these steps to clean install Catalina:

If you are currently on a Mac, you should download the installer directly through the Mac App Store

Instead of a raw DMG, macOS uses a command-line tool to turn the installer app into a bootable disk. Open (Applications > Utilities).