# Installation Instructions for Linux

### Installation Steps

Follow these steps to set up the CLI node on Linux:

1. Clone the Repository:
   * Open a terminal and clone the validator repository:

     ```bash
     git clone https://github.com/ShadowNetworkXYZ/validator.git
     ```
   * Navigate to the cloned directory:bash

     ```bash
     cd validator
     ```
2. Configure Environment Variables:
   * Copy the example environment file to create a custom configuration:

     ```bash
     cp .env.example .env
     ```
   * Edit .env with a text editor (e.g., nano or vim) to set required variables, such as PRIVATE\_KEY, as per the project documentation.
3. Install Dependencies:
   * Run the following command to install all necessary Node.js packages:

     ```bash
     npm install
     ```
4. Launch the Node:
   * Start the validator script with:

     ```bash
     node validator
     ```
5. Verify Operation:
   * Check the terminal output for synchronization status, errors, or logs to ensure the node is running correctly.


---

# 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.shadow-network.xyz/cli-node/installation-instructions-for-linux.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.
