# faros agent uninstall

Uninstall faros agent systemd or launchd service

Source: https://faros.sh/docs/reference/cli/commands/agent-uninstall/

<!-- Generated by scripts/sync-cli-docs.py from faroshq/faros docs/cli. Do not edit by hand; run `make sync-cli-docs`. -->

```bash
faros agent uninstall [flags]
```

## Options

```text
      --dry-run                Print what would be removed without changing the host
      --edge-name string       Edge name (used to derive unit name)
  -h, --help                   help for uninstall
      --launchd-plist string   LaunchDaemon plist path (default: /Library/LaunchDaemons/com.faros.agent.<edge>.plist)
      --type string            Installation type: server or macos (default "server")
      --unit-name string       Systemd unit name (default: faros-agent-<edge-name>)
```

## Inherited options

```text
      --insecure-skip-tls-verify   Skip TLS certificate verification when talking to the hub
      --kubeconfig string          Path to the kubeconfig file (default: $KUBECONFIG, then ~/.kube/config)
```

## See also

- [faros agent](https://faros.sh/docs/reference/cli/commands/agent/) — Run, install or upgrade the edge agent on a cluster or server
