They’re actually two different things. ![]()
The /wizard is for UI and admin settings to get your site setup after installation, and is accessed through your site/browser.
discourse-setup is part of the installation process itself which (in part) allocates server resources, and is run from the server.
You can re-run discourse-setup multiple times and it won’t overwrite any of your site data.