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