Uninstalling the CLI

Uninstalling the CLI

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

Unix, Linux, and OS X

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

    $ 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 services.
  2. Delete the dcos executable.