> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reysys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# installation

## Linux Package Managers

### APT (Debian/Ubuntu)

```shell theme={null}
sudo apt update
sudo apt install ca-certificates curl -y
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://repo.reysys.com/apt/gpg.key -o /etc/apt/keyrings/reysys.asc
sudo chmod a+r /etc/apt/keyrings/reysys.asc

sudo tee /etc/apt/sources.list.d/reysys.sources <<EOF
Types: deb
URIs: https://repo.reysys.com/apt
Suites: /
Signed-By: /etc/apt/keyrings/reysys.asc
EOF

sudo apt update
sudo apt install -y rscli

# Specific version
sudo apt install -y rscli=1.0.3
```

### YUM (RHEL/Fedora/CentOS)

```shell theme={null}
sudo tee /etc/yum.repos.d/reysys.repo <<EOF
[reysys]
name=reysys
baseurl=https://repo.reysys.com/yum/
enabled=1
gpgcheck=1
gpgkey=https://repo.reysys.com/yum/gpg.key
EOF

sudo dnf install -y rscli

# Specific version
sudo dnf install -y rscli-1.0.3-1
```

## Docker

### Docker Hub

```shell theme={null}
docker run reysys/rscli:latest

# Specific version
docker run reysys/rscli:1
docker run reysys/rscli:1.0.3
```

### GitHub Container Registry

```shell theme={null}
docker run ghcr.io/reysys-technology/rscli:latest

# Specific version
docker run ghcr.io/reysys-technology/rscli:1
docker run ghcr.io/reysys-technology/rscli:1.0.3
```

## Homebrew

```shell theme={null}
brew tap reysys-technology/homebrew-tap
brew install rscli

# Specific version
brew install rscli@1
brew install rscli@1.0.3
```

## GitHub Releases

Download pre-built binaries from the [GitHub Releases](https://github.com/reysys-technology/rscli/releases) page.

```shell theme={null}
# Example for Linux amd64
curl -LO https://github.com/reysys-technology/rscli/releases/latest/download/rscli_linux_amd64
chmod +x rscli_linux_amd64
sudo mv rscli_linux_amd64 /usr/bin/rscli

# Example for Linux amd64 specific version
curl -LO https://github.com/reysys-technology/rscli/releases/v1.0.3/download/rscli_linux_amd64
chmod +x rscli_linux_amd64
sudo mv rscli_linux_amd64 /usr/bin/rscli
```

## Install from Sources

```shell theme={null}
go install github.com/reysys-technology/rscli/cmd/rscli@latest

# Specific version
go install github.com/reysys-technology/rscli/cmd/rscli@v1
go install github.com/reysys-technology/rscli/cmd/rscli@v1.0.3
```
