> For the complete documentation index, see [llms.txt](https://xai-foundation.gitbook.io/xai-network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xai-foundation.gitbook.io/xai-network/kn/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).

# 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
   ```
