Uninstalling the CLI

Uninstalling the DC/OS command line interface

You can uninstall the CLI with these commands for your operating system.

Unix, Linux, and macOS

  1. Delete the hidden .dcos directory. This will delete the configuration files for your DC/OS CLI connections.

    rm -rf ~/.dcos
    
  2. Delete the dcos executable. By default, this file is located in /usr/local/bin/dcos.

    rm -rf /usr/local/bin/dcos
    

Windows

  1. Delete the hidden .dcos directory. This will delete the configuration files for your DC/OS CLI connections.
  2. Delete the dcos executable.