Hi,
Which version of Wazuh are you trying to install?
As of 4.x versions, it is not necessary to install the wazuh-api since it is directly integrated into the wazuh-manager. It is also not necessary to use nodejs since the new API from 4.x is written in python, and uses the embedded python of the wazuh-manager itself.
I recommend that you take a look at the installation guide https://documentation.wazuh.com/current/installation-guide/open-distro/all-in-one-deployment/all-in-one.html and let us know if you have any questions about it.
In case you are installing a 3.x version (not recommended), you can find how to install the wazuh-api in the installation guide. For example, for centOS
https://documentation.wazuh.com/3.13/installation-guide/installing-wazuh-manager/linux/centos/wazuh_server_packages_centos.html#installing-the-wazuh-api
Let us know if you have any questions.
Best regards.