netz98 / n98-magerun2 is one crucial Swiss Knife tool I use for deploying Magento 2 quickly on my Mac Pro, alongside weprovide / valet-plus
Out of the box the CLI Magerun2 tool supports Community Edition, but it’s rather a simple task to load up the Enterprise Edition version as well during install command.
Step. 1. Add your Magento Repository <public_key> and <secret_key> to your global composer file.
Here’s the official guide to help you find your Authentication Keys:
This is done with a command like this in Terminal:
composer.phar global config http-basic.repo.magento.com <public_key> <private_key>
Step. 2. We need to add a config file for Magerun2, in which we specify the Magento Enterprise version we want to pull from the Repo.
Watch out for the YAML file indentation. I suggest opening the file in Xcode to make sure you have the proper structure.
Save the file at this location:
commands: N98\Magento\Command\Installer\InstallCommand: magento-packages: - name: magento-ee-2.4.1 package: magento/project-enterprise-edition version: 2.4.1 options: prefer-dist: true stability: alpha repository-url: https://repo.magento.com installation: pre-check: php: extensions: - pdo_mysql - spl - dom - simplexml - hash - curl - iconv - ctype - gd - xsl - openssl - intl - mbstring - zip
Afterwards you can run
Magerun2 install command to have the requested package show up in the list of choices like so in  position.
[1 ] magento-ce-2.4.1 [2 ] magento-ce-2.4.0 [3 ] magento-ce-2.3.5-p2 [4 ] magento-ce-2.3.5 [5 ] magento-ce-2.3.4 [6 ] magento-ce-2.3.3 [7 ] magento-ce-2.3.2 [8 ] magento-ce-2.3.1 [9 ] magento-ce-2.3.0  magento-ee-2.4.1