Hi madcowtricks,
In our documentation, we have the two installation types, Open Distro for Elasticsearch, the opensource version of Elasticsearch, and Elastic Stack basic license.
If you are following the Open Distro for Elasticsearch unattended distributed deployment https://documentation.wazuh.com/current/installation-guide/open-distro/distributed-deployment/unattended/unattended-elasticsearch-cluster-installation.html the script to install elastic-stack is https://raw.githubusercontent.com/wazuh/wazuh-documentation/4.1/resources/open-distro/unattended-installation/distributed/elastic-stack-installation.sh which installs opendistroforelasticsearch, opendistroforelasticsearch-kibana and some dependencies.
Otherwise, if you want to install the Elastic Stack basic license version, you have to follow one of the following guides: https://documentation.wazuh.com/current/installation-guide/more-installation-alternatives/elastic-stack/index.html
Hope it helps!
Víctor.