---
title: Charmhub | Deploy Temporal Server using Charmhub - The Open Operator Collection
description: Deploy the latest version of Temporal Server as a Kubernetes Operator
  on any cloud.
url: https://charmhub.io/temporal-k8s/docs/h-cli
---

# Temporal Server

[Workflows Charmers](https://charmhub.io/publisher/workflows-charmers "View all packages from Workflows Charmers")

* [Workflows Charmers](https://charmhub.io/publisher/workflows-charmers "View all packages from Workflows Charmers")

Platform:

1.23/stable 60

```
juju deploy temporal-k8s --channel 1.23/stable
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Relevant links

* [Homepage](https://github.com/canonical/temporal-k8s-operator)

---

#### Contacts

##### Maintainers

+ [Commercial Systems](mailto:jaas-crew@lists.canonical.com)

* [Submit a bug](https://github.com/canonical/temporal-k8s-operator/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# Temporal CLI

[Temporal CLI](https://docs.temporal.io/cli) is a command-line tool that can be used

to interact with a Temporal Cluster.

The tool is available for use as follows:

## [Temporal client Snap](https://charmhub.io/temporal-k8s/docs/h-cli#p-27509-temporal-client-snap)

Temporal CLI can be installed as a

[snap](https://snapcraft.io/temporal)

and used on your local machine. The Temporal CLI snap can be used on Temporal server

environments with authorization enabled by enabling Google IAM login. More

instructions can be found on the snap’s documentation page.

## [Temporal Admin Charm](https://charmhub.io/temporal-k8s/docs/h-cli#p-27509-temporal-admin-charm)

Temporal CLI commands can be run as an action in the Charmed Temporal Admin K8s

operator. Once deployed and related to the Temporal server, we can run any of

the available commands such as:

### [Create Namespace](https://charmhub.io/temporal-k8s/docs/h-cli#p-27509-create-namespace)

```
juju run temporal-admin-k8s/0 cli args="operator namespace create --namespace default --retention 3d" --wait 1m
```

### [List Namespaces](https://charmhub.io/temporal-k8s/docs/h-cli#p-27509-list-namespaces)

```
juju run temporal-admin-k8s/0 cli args="operator namespace list" --wait 1m
```

### [Start Workflow Execution](https://charmhub.io/temporal-k8s/docs/h-cli#p-27509-start-workflow-execution)

```
juju run temporal-admin-k8s/0 cli args='workflow start --task-queue test-queue --type GreetingWorkflow --input '\"World\"'' --wait 1m
```

---
