# Install CX Cloud CLI

## Installing CX Cloud CLI Tools

{% hint style="info" %}
Before proceeding, make sure you have prepared your local environment as instructed in [this guide](/getting-started-1/getting-started/prepare-your-environment.md).
{% endhint %}

Install CX Cloud CLI by running the following command:

```bash
$ npm install -g cxcloud
```

If you need to update CX Cloud CLI, run this command\`:

```
$ npm i -g cxcloud@latest
```

After installation is complete, you can call CX Cloud directly from command line:

```bash
$ cxcloud --version
```

Or if you don't want to install CX Cloud globally, you can call it directly using `npx`:

```
$ npx cxcloud --version
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cxcloud.com/getting-started-1/getting-started/install-cxcloud-cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
