---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/it-operations-management

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Uninstall the ACC from macOS using a single-line command

# Uninstall the Agent Client Collector from macOS using a
single-line command {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Uninstall the Agent Client Collector from macOS machine
by running an efficient single-line command. If the agent is connected to the instance,
uninstall Agent Client Collector manually.

## Vorbereitungen

* The uninstall procedure is the same for both MID Server and MID-less deployments.
* Role required: agent_client_collector_admin
{#acc-uninstall-mac-single-line__ul_nbb_xs5_zfc}

## Prozedur

Run the following command.  

    bash -c "$(curl -L https://<Instance URL>/api/sn_agent/agents/install_agent)" -s "--remove"

Hinweis:  
Uninstalling the Agent Client Collector removes the acc.yml file and its directory from your machine. The user and group _servicenow, created as part of the installation process, is also removed.

