Use the gloo gateway CLI to quickly assess the health of your Gloo Gateway control and data plane components.

  1. Save the version of the gloo gateway CLI that you want to install as an environment variable.

      export VERSION=v0.2.0
      
  2. Install the gloo gateway CLI.

      curl -sL https://storage.googleapis.com/gloo-cli/install.sh | sh -
      

    Example output:

      Attempting to download gloo version v0.2.0
    Downloading gloo-darwin-arm64 version v0.2.0 for darwin-arm64...
    Download complete!, validating checksum...
    Checksum valid.
    gloo CLI was successfully installed 🎉
    
    Add the gloo CLI to your path with:
    export PATH=$HOME/.gloo/bin:$PATH
      
  3. Add the CLI to your path.

      export PATH=$HOME/.gloo/bin:$PATH
      
  4. Try out the CLI. For example, you can list all supported commands with the following command.

      gloo gateway --help 
      

    Example output:

      Commands for interacting with Gloo Gateway installations.
    
    Usage:
      gloo gateway [command]
    
    Aliases:
      gateway, gw
    
    Available Commands:
      analyze     Anaylze resources by file names or stdin
      check       Check the health of the Gloo Gateway installation.
      describe    Display one or many resources
      get         Display one or many resources
    ...
      

Next

Review the command reference.