# mesheryctl-system-context-view

LLMS index: [llms.txt](/llms.txt)

---

# mesheryctl system context view

Display the current Meshery CLI configuration context

## Synopsis

Display the current Meshery CLI context configuration.
This command shows which Kubernetes cluster, platform, and provider Meshery is configured to communicate with.
Use this to verify or debug your current CLI settings.

<pre class='codeblock-pre'>
<div class='codeblock'>
<div class='clipboardjs'>
mesheryctl system context view [context-name | --context context-name | --all] --flags [flags]

</div>
</div>
</pre> 

## Examples

View the default context
<pre class='codeblock-pre'>
<div class='codeblock'>
<div class='clipboardjs'>
mesheryctl system context view

</div>
</div>
</pre> 

View a specified context
<pre class='codeblock-pre'>
<div class='codeblock'>
<div class='clipboardjs'>
mesheryctl system context view context-name

</div>
</div>
</pre> 

View a specified context using the --context flag
<pre class='codeblock-pre'>
<div class='codeblock'>
<div class='clipboardjs'>
mesheryctl system context view --context context-name

</div>
</div>
</pre> 

View configuration of all contexts
<pre class='codeblock-pre'>
<div class='codeblock'>
<div class='clipboardjs'>
mesheryctl system context view --all

</div>
</div>
</pre> 

## Options

<pre class='codeblock-pre'>
<div class='codeblock'>
      --all              Show configs for all of the context
  -c, --context string   Show config for the context
  -h, --help             help for view

</div>
</pre>

## Options inherited from parent commands

<pre class='codeblock-pre'>
<div class='codeblock'>
      --config string   path to config file (default "~/.meshery/config.yaml")
  -v, --verbose         verbose output
  -y, --yes             (optional) assume yes for user interactive prompts.

</div>
</pre>

## Screenshots

Usage of mesheryctl context view
![context-view-usage](../../../../images/context-view.png)

## See Also

Go back to [command reference index](/reference/mesheryctl/), if you want to add content manually to the CLI documentation, please refer to the [instruction](/project/contributing/cli/cli/#documenting) for guidance.
