# Step 3: Set up Xai Sentry Node

1. Ensure your system is up to date by running the following command:&#x20;

   ```
   sudo apt update
   ```
2. Install the required dependencies, `curl` and `unzip`, using the following command:&#x20;

   ```
   sudo apt install curl unzip
   ```
3. Fetch the latest version of the Xai Command Line Interface (CLI) using `curl`:&#x20;

   ```
   curl -L -o sentry-node-cli-linux.zip https://github.com/xai-foundation/sentry/releases/latest/download/sentry-node-cli-linux.zip
   ```
4. Unzip the file:&#x20;

   ```
   unzip sentry-node-cli-linux.zip
   ```


---

# 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://xai-foundation.gitbook.io/xai-network/about-xai/sentry-key-purchase-and-setup/common-troubleshooting-steps/how-do-i-run-a-xai-node-on-vps/step-3-set-up-xai-sentry-node.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.
