Installing Wazuh Agent on macOS

Wazuh Dashboard

Go to Agents management > Summary, and click on Deploy new agent.

Run the following commands to download and install the agent:

Intel CPU:
curl -so wazuh-agent.pkg https://packages.wazuh.com/4.x/macos/wazuh-agent-4.12.0-1.intel64.pkg && echo "WAZUH_MANAGER='<server_ip>' && WAZUH_AGENT_NAME='<agent_name>'" > /tmp/wazuh_envs && sudo installer -pkg ./wazuh-agent.pkg -target /
Apple CPU:
curl -so wazuh-agent.pkg https://packages.wazuh.com/4.x/macos/wazuh-agent-4.12.0-1.arm64.pkg && echo "WAZUH_MANAGER='<server_ip>' && WAZUH_AGENT_NAME='<agent_name>'" > /tmp/wazuh_envs && sudo installer -pkg ./wazuh-agent.pkg -target /
Start the agent
sudo /Library/Ossec/bin/wazuh-control start

WordPress Appliance - Powered by TurnKey Linux