---
title: Get current MKE config
weight: 6
---
Run the `config get` command to retrieve the current MKE configuration from an existing MKE-4 cluster.
```shell
mkectl --kubeconfig ~/.mke/mke.kubeconf config get
Use cases
- When a user makes configuration changes to MKE through the MKE4 UI or kubectl, they can use this command to fetch the current MKE configuration, ensuring they apply it with mkectl apply. This prevents local configurations from overwriting the changes.
- If the MKE-4 config file is accidentally lost, this command provides the current MKE configuration, allowing for recovery.
Add a new page for
config get
command under https://github.com/Mirantis/mke-docs/tree/main/content/docs/getting-started.Here is the rough content.