docs/layouts/shortcodes/mesheryctl/installation-brew.md
You need to have Brew installed on your Linux or macOS system to perform these actions.
mesheryctl using BrewTo install mesheryctl using homebrew, execute the following commands.
You're ready to run Meshery. To do so, execute the following command.
<pre class="codeblock-pre"><div class="codeblock"> <div class="clipboardjs"> $ mesheryctl system start </div></div> </pre>If you are running Meshery on Docker, execute the following command.
<pre class="codeblock-pre"><div class="codeblock"> <div class="clipboardjs"> $ mesheryctl system start -p docker </div></div> </pre>Meshery server supports customizing authentication flow callback URL, which can be configured in the following way
<pre class="codeblock-pre"><div class="codeblock"> <div class="clipboardjs"> $ MESHERY_SERVER_CALLBACK_URL=https://custom-host mesheryctl system start </div></div> </pre>mesheryctl uses your current Kubernetes context, your KUBECONFIG environment variable (~/.kube/config by default). Confirm if this Kubernetes cluster you want Meshery to interact with by running the following command: kubectl config get-contexts.
If there are multiple contexts in your kubeconfig file, specify the one you want to use with the use-context subcommand: kubectl config use-context <context-to-use>.
mesheryctl using BrewTo upgrade mesheryctl, execute the following command.