---
title: "calicoctl version"
description: "Reference for the calicoctl version command in Calico Open Source, used to display client and cluster version information."
product: "Calico Open Source"
version: "3.33 (latest)"
section: "Reference"
canonical_url: "https://docs.tigera.io/calico/latest/reference/calicoctl/version"
---

# calicoctl version

This section describes the `calicoctl version` command.

Read the [calicoctl Overview](https://docs.tigera.io/calico/latest/reference/calicoctl/overview.md) for a full list of calicoctl commands.

## Displaying the help text for 'calicoctl version' commands

Run `calicoctl version --help` to display the following help menu for the commands.

```text
Display version information for calicoctl, and for the cluster when it can be reached.

Usage:
  calicoctl version [flags]

Examples:
  # Show client and cluster versions.
  calicoctl version

  # Show only the client version.
  calicoctl version --client

Flags:
      --client          Display the client version only.
  -c, --config string   Path to the file containing connection configuration.
  -h, --help            help for version
      --poll string     Poll for changes to the cluster information at a frequency specified using POLL duration.

Global Flags:
      --allow-version-mismatch   Allow client and cluster versions mismatch
      --context string           The name of the kubeconfig context to use
  -l, --log-level string         Set the log level (panic, fatal, error, warn, info, debug) (default "panic")
```

### Example

Use `calicoctl version` to obtain the following data.

| Field               | Value                                      |
| ------------------- | ------------------------------------------ |
| `Client Version`    | Version of `calicoctl`                     |
| `Build date`        | Time and date of `calicoctl` build         |
| `Git commit`        | Git commit number of `calicoctl`           |
| `Cluster Version`\* | Version number of `calico/node` and Calico |
| `Cluster Type`\*    | Other details about the cluster            |

\* To obtain these values, you must configure `calicoctl` [to connect to your datastore](https://docs.tigera.io/calico/latest/operations/calicoctl/configure/overview.md).

## See also

- [Installing calicoctl](https://docs.tigera.io/calico/latest/operations/calicoctl/install.md).
