To install, restart, and remove the Automox agent on macOS devices, refer to the commands listed here.
Install the Automox agent
To install the Automox agent on macOS, run this command. (You will need your Access Key that was provided during the onboarding process.)
curl -sS "https://console.automox.com/downloadInstaller?accesskey=YOUR_ORGANIZATION_KEY_HERE" | sudo bash && sudo launchctl load /Library/LaunchDaemons/com.automox.agent.plist
Inspect the process
Determine if the Automox agent is running:
ps aux | grep amagent
Restart the agent
Unload the agent:
sudo launchctl unload /Library/LaunchDaemons/com.automox.agent.plist
Load the agent:
sudo launchctl load /Library/LaunchDaemons/com.automox.agent.plist
sudo launchctl unload /Library/LaunchDaemons/com.automox.agent.plist && sudo rm -f /usr/local/bin/amagent && sudo rm -rf "/Library/Application Support/Automox/"
Article is closed for comments.