> For the complete documentation index, see [llms.txt](https://docs.kaisar.io/kaisar-network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kaisar.io/kaisar-network/kaisar-architecture/products/kaisar-onenode/kaisar-provider/how-to-run-kaisar-provider-app/linux-cli.md).

# Linux CLI

## Kaisar Provider CLI Installation Guide for Contributing to Kaisar Network

### Requirements

To run the Kaisar Provider, ensure your system meets the following specifications:

* **Operating System:** Ubuntu 20.04+, CentOS 8+, or compatible 64-bit Linux distribution
* **Memory:** 4GB RAM
* **Processor:** 64-bit CPU with virtualization support
* **Storage:** 100GB HDD/SSD
* **Internet Speed:** 100Mbps or higher

### Dependencies

The following packages and libraries are required (the setup script will install them automatically if missing):

* Node.js (v18 or higher recommended)
* npm
* pm2
* curl
* tar
* git (for some operations)

***

### 1. Download the Setup Script

Download the latest setup script from the Kaisar releases repository:

```bash
curl -O https://raw.githubusercontent.com/Kaisar-Network/kaisar-releases/main/kaisar-provider-setup.sh
```

<figure><img src="/files/6Qonma6PPO2xJOfYJxJT" alt=""><figcaption></figcaption></figure>

***

### 2. Make the Script Executable

```bash
chmod +x kaisar-provider-setup.sh
```

<figure><img src="/files/3sWBBHivI6osw6wAFNRV" alt=""><figcaption></figcaption></figure>

***

### 3. Run the Setup Script with Root Privileges

```bash
sudo ./kaisar-provider-setup.sh
```

The script will automatically:

* Install Node.js, npm, and pm2 if not already present
* Download the latest release of Kaisar Provider CLI
* Install all required dependencies
* Set up the CLI globally on your system

<figure><img src="/files/m6KyaC8yws1RnxwwUex3" alt=""><figcaption></figcaption></figure>

***

### 4. Verify the Installation

After installation, verify by running:

```bash
kaisar
```

If you see a welcome message, the installation was successful!

<figure><img src="/files/uZgJz3NCTFmy2GyHUSQ5" alt=""><figcaption><p>kaisar command result</p></figcaption></figure>

***

### 5. Start Using the CLI

You can now join the network with the following commands:

```bash
kaisar start          # Start the Provider App
kaisar create-wallet -e <your email> # Create Wallet
kaisar import-wallet -e <your email> -k <your private key> # Import your existed wallet
kaisar status         # Check node status
kaisar log            # Check details log of Provider App
```

<figure><img src="/files/bZm1RLz89VM5Qc0XfcCk" alt=""><figcaption></figcaption></figure>

***

**Notes:**

* Wallet and configuration data are stored in `/var/lib/kaisar-provider-cli`, so your data will not be lost when updating to a new version.
* To earn rewards, follow the instructions to create a wallet and connect your account to the Kaisar Network.

***

Good luck and enjoy earning rewards with Kaisar Network!
