If you cannot access the App Store, here are the most common workarounds and their limitations: 1. Third-Party Download Sites (DMG Files)
If your Mac has the App Store binary present but the GUI is disabled (e.g., via parental controls), you can still use a third-party command-line tool called (Mac App Store command-line interface). apple configurator 2 download without app store
If you already have the app but need to automate it, you can install the official command-line tool directly from within the app’s preferences. If you cannot access the App Store, here