> For the complete documentation index, see [llms.txt](https://docs.cxcloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cxcloud.com/v3.0-docs/getting-started-1/getting-started/install-cxcloud-cli.md).

# 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](/v3.0-docs/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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
