Install Meshery CLI with Homebrew
Prerequisites
You need Homebrew installed on your Linux or macOS system.
Install mesheryctl using Brew
To install mesheryctl with Homebrew, run:
$ brew install mesheryctl
You’re ready to run Meshery. To start it on Kubernetes, run:
$ mesheryctl system start
To run Meshery on Docker instead, run:
$ mesheryctl system start -p docker
To customize the callback URL that your Provider redirects to after sign-in, set MESHERY_SERVER_CALLBACK_URL when you start Meshery:
$ MESHERY_SERVER_CALLBACK_URL=https://custom-host mesheryctl system start
On Kubernetes, mesheryctl uses the current context of your kubeconfig (~/.kube/config by default). To confirm that it points at the cluster you want Meshery to use, run kubectl config get-contexts.
If your kubeconfig has several contexts, switch to the one you want with kubectl config use-context <context-to-use>.
Upgrade mesheryctl using Brew
To upgrade mesheryctl, run:
$ brew upgrade mesheryctl